Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidServiceAccountKeyFile ¶
IsValidServiceAccountKeyFile returns true if a valid public RSA key can be read from the given file
Types ¶
type AuthenticatorConfig ¶
type AuthenticatorConfig struct { BasicAuthFile string ServiceAccountKeyFiles []string ServiceAccountLookup bool TokenSuccessCacheTTL time.Duration TokenFailureCacheTTL time.Duration // TODO, this is the only non-serializable part of the entire config. Factor it out into a clientconfig ServiceAccountTokenGetter serviceaccount.ServiceAccountTokenGetter }
func (AuthenticatorConfig) New ¶
func (config AuthenticatorConfig) New() (authenticator.Request, error)
New returns an authenticator.Request or an error that supports the standard Kubernetes authentication mechanisms.
Click to show internal directories.
Click to hide internal directories.