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
Writer writer.Interface
Logger logger.Interface
Clock clock.Interface
}
type Input ¶ added in v1.14.3
type Input struct {
Provider oidc.Provider
TokenCacheDir string
GrantOptionSet authentication.GrantOptionSet
TLSClientConfig tlsclientconfig.Config
ForceRefresh bool
UseAccessToken bool
}
Input represents an input DTO of the GetToken use-case.
Click to show internal directories.
Click to hide internal directories.