Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerKeychain ¶
type DockerKeychain struct {
// contains filtered or unexported fields
}
func (*DockerKeychain) Resolve ¶
func (keychain *DockerKeychain) Resolve(target authn.Resource) (authn.Authenticator, error)
Resolve implements Keychain interface by interpreting the docker config file. It is based on the 'defaultKeychain' type from the go-gontainerregistry library https://github.com/google/go-containerregistry/blob/27a6ad6/pkg/authn/keychain.go DockerKeychain implementation can read a docker config file of any name and from any directory.
Click to show internal directories.
Click to hide internal directories.