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

Struct fakeProviderBuilder

credentials/tls/certprovider/store_test.go:69–72  ·  view source on GitHub ↗

fakeProviderBuilder builds new instances of fakeProvider and interprets the config provided to it as a string.

Source from the content-addressed store, hash-verified

67// fakeProviderBuilder builds new instances of fakeProvider and interprets the
68// config provided to it as a string.
69type fakeProviderBuilder struct {
70 name string
71 providerChan *testutils.Channel
72}
73
74func (b *fakeProviderBuilder) ParseConfig(config any) (*BuildableConfig, error) {
75 s, ok := config.(string)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected