Documentation ¶
Overview ¶
Package simpleauth implements a basic pass-by-reference of credentials for the authn.Authenticator interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleAuthenticator ¶
type SimpleAuthenticator struct {
Auth *authn.AuthConfig
}
SimpleAuthenticator is used to handle looking up the already populated user configuration that is used when speaking with the remote registry.
func (*SimpleAuthenticator) Authorization ¶
func (auth *SimpleAuthenticator) Authorization() (*authn.AuthConfig, error)
Authorization implements authn.Authenticator.
Click to show internal directories.
Click to hide internal directories.