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

Struct failingProvider

internal/xds/bootstrap/tlscreds/bundle_test.go:55–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55type failingProvider struct{}
56
57func (f failingProvider) KeyMaterial(context.Context) (*certprovider.KeyMaterial, error) {
58 return nil, errors.New("test error")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected