Documentation
¶
Overview ¶
Package credentialplugin provides the use-cases for running as a client-go credentials plugin.
See https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type GetToken ¶
type GetToken struct {
Authentication authentication.Interface
TokenCacheRepository repository.Interface
CredentialPluginReader credentialpluginreader.Interface
CredentialPluginWriter credentialpluginwriter.Interface
Logger logger.Interface
Clock clock.Interface
}
type Input ¶ added in v1.14.3
type Input struct {
Provider oidc.Provider
ForceRefresh bool
TokenCacheConfig tokencache.Config
GrantOptionSet authentication.GrantOptionSet
TLSClientConfig tlsclientconfig.Config
}
Input represents an input DTO of the GetToken use-case.
Click to show internal directories.
Click to hide internal directories.