Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapGRPCCreds ¶
func MapGRPCCreds(authToken string) credentials.PerRPCCredentials
Types ¶
type AddressProvider ¶
type AddressProvider struct {
// contains filtered or unexported fields
}
func NewAddressProvider ¶
func NewAddressProvider(url string, c *tls.Config) *AddressProvider
NewAddressProvider returns a new AddressProvider that has been configured with the bosh director url and tlsConfig.
func (*AddressProvider) Addr ¶
func (a *AddressProvider) Addr() (string, error)
Addr returns the url of the user authentication entity from the info response. It returns an error if the request fails or response cannot be decoded.
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
type AuthTokenCreds ¶
type AuthTokenCreds struct {
// contains filtered or unexported fields
}
func (AuthTokenCreds) GetRequestMetadata ¶
func (AuthTokenCreds) RequireTransportSecurity ¶
func (ts AuthTokenCreds) RequireTransportSecurity() bool
RequireTransportSecurity indicates whether the credentials requires transport security.
Click to show internal directories.
Click to hide internal directories.