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

Method PerRPCCredentials

credentials/credentials.go:219–219  ·  view source on GitHub ↗

PerRPCCredentials returns the per-RPC credentials from the Bundle. May be nil if per-RPC credentials are not needed.

()

Source from the content-addressed store, hash-verified

217 //
218 // May be nil if per-RPC credentials are not needed.
219 PerRPCCredentials() PerRPCCredentials
220
221 // NewWithMode should make a copy of Bundle, and switch mode. Modifying the
222 // existing Bundle may cause races.

Callers 2

NewHTTP2ClientFunction · 0.65

Implementers 5

credscredentials/google/google.go
insecureBundlecredentials/insecure/insecure.go
testCredsBundlebalancer/rls/control_channel_test.go
testCredsBundletest/creds_test.go
bundleinternal/xds/bootstrap/tlscreds/bundle

Calls

no outgoing calls

Tested by 1