creds implements credentials.Bundle.
| 93 | |
| 94 | // creds implements credentials.Bundle. |
| 95 | type creds struct { |
| 96 | opts DefaultCredentialsOptions |
| 97 | |
| 98 | // Supported modes are defined in internal/internal.go. |
| 99 | mode string |
| 100 | // The active transport credentials associated with this bundle. |
| 101 | transportCreds credentials.TransportCredentials |
| 102 | // The active per RPC credentials associated with this bundle. |
| 103 | perRPCCreds credentials.PerRPCCredentials |
| 104 | } |
| 105 | |
| 106 | func (c *creds) TransportCredentials() credentials.TransportCredentials { |
| 107 | return c.transportCreds |
nothing calls this directly
no outgoing calls
no test coverage detected