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

Method Build

xds/bootstrap/credentials.go:67–69  ·  view source on GitHub ↗
(json.RawMessage)

Source from the content-addressed store, hash-verified

65type googleDefaultCredsBuilder struct{}
66
67func (d *googleDefaultCredsBuilder) Build(json.RawMessage) (credentials.Bundle, func(), error) {
68 return google.NewDefaultCredentials(), func() {}, nil
69}
70
71func (d *googleDefaultCredsBuilder) Name() string {
72 return "google_default"

Callers

nothing calls this directly

Calls 1

NewDefaultCredentialsFunction · 0.92

Tested by

no test coverage detected