Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomRegistryKeychain ¶
type CustomRegistryKeychain struct {
Opts KeychainOpts
}
CustomRegistryKeychain implements an authn.Keychain interface by using credentials provided by imgpkg's auth options
func (CustomRegistryKeychain) Resolve ¶
func (k CustomRegistryKeychain) Resolve(res regauthn.Resource) (regauthn.Authenticator, error)
Resolve looks up the most appropriate credential for the specified target.
type EnvKeychain ¶
type EnvKeychain struct { EnvironFunc func() []string // contains filtered or unexported fields }
EnvKeychain implements an authn.Keychain interface by using credentials provided by imgpkg's auth environment vars
func (*EnvKeychain) Resolve ¶
func (k *EnvKeychain) Resolve(target regauthn.Resource) (regauthn.Authenticator, error)
Resolve looks up the most appropriate credential for the specified target.
Click to show internal directories.
Click to hide internal directories.