Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusOK = 0 StatusGetTokenFailed = 1 StatusParseTokenFailed = 2 )
Variables ¶
This section is empty.
Functions ¶
func NewServiceAccountSource ¶
Types ¶
type TokenProvider ¶
type TokenProvider struct {
// contains filtered or unexported fields
}
func NewTokenProvider ¶
func NewTokenProvider(options TokenProviderOptions) (*TokenProvider, error)
func (*TokenProvider) GetToken ¶
func (p *TokenProvider) GetToken(parent context.Context, _ apis.TokenRequest) (apis.TokenResponse, error)
GetToken implements apis.TokenProvider.GetToken method
type TokenProviderOptions ¶
type TokenRefresher ¶
type TokenRefresher struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.