Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InlineKeyChain ¶ added in v0.36.0
type InlineKeyChain struct { // [S][C][T] Username specifies the container registry username to use for authentication. Not compatible with token Username string `yaml:",omitempty"` // [S][C][T] Password specifies the container registry password to use for authentication. Not compatible with token Password string `yaml:",omitempty"` // [S][C][T] Token specifies the container registry token to use for authentication. Not compatible with username/password Token string `yaml:",omitempty"` }
func (InlineKeyChain) Empty ¶ added in v0.36.0
func (kc InlineKeyChain) Empty() bool
func (InlineKeyChain) Resolve ¶ added in v0.36.0
func (kc InlineKeyChain) Resolve(authn.Resource) (authn.Authenticator, error)
Resolve the inline keychain and return an authenticator
func (InlineKeyChain) Validate ¶ added in v0.36.0
func (kc InlineKeyChain) Validate() error
Validate validates the object and returns an error (with all the failed validation messages) if it is not valid
Click to show internal directories.
Click to hide internal directories.