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

Method Build

xds/bootstrap/credentials.go:55–57  ·  view source on GitHub ↗
(config json.RawMessage)

Source from the content-addressed store, hash-verified

53type tlsCredsBuilder struct{}
54
55func (t *tlsCredsBuilder) Build(config json.RawMessage) (credentials.Bundle, func(), error) {
56 return tlscreds.NewBundle(config)
57}
58
59func (t *tlsCredsBuilder) Name() string {
60 return "tls"

Callers 1

TestTlsCredsBuilderFunction · 0.95

Calls 1

NewBundleFunction · 0.92

Tested by 1

TestTlsCredsBuilderFunction · 0.76