MCPcopy
hub / github.com/grpc/grpc-go / fakeProvider

Struct fakeProvider

security/advancedtls/advancedtls_test.go:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53)
54
55type fakeProvider struct {
56 pt provType
57 isClient bool
58 wantMultiCert bool
59 wantError bool
60}
61
62func (f fakeProvider) KeyMaterial(context.Context) (*certprovider.KeyMaterial, error) {
63 if f.wantError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected