Documentation ¶
Overview ¶
Package auth package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenProvider ¶
TokenProvider is an interface with a GetToken method.
func NewServiceAccountTokenProvider ¶
func NewServiceAccountTokenProvider(endpointURL, accountPath, token string) (TokenProvider, error)
NewServiceAccountTokenProvider returns a new instance of this provider.
Constructor arguments for options service account path and token values take priority over the environment variables. For now,
func NewStaticTokenProvider ¶
func NewStaticTokenProvider(token string) (TokenProvider, error)
NewStaticTokenProvider returns a new instance of this provider.
Click to show internal directories.
Click to hide internal directories.