Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegistryAuthFor ¶
func RegistryAuthFor(a Authenticator, image string) (string, error)
Types ¶
type Authenticator ¶
type Authenticator interface {
GetAuthConfig(registryHostname string) (types.AuthConfig, error)
}
var EmptyAuthenticator Authenticator = emptyAuthenticator{}
func FromConfigFile ¶
func FromConfigFile(c *configfile.ConfigFile) Authenticator
func FromReader ¶
func FromReader(r io.Reader) (Authenticator, error)
Click to show internal directories.
Click to hide internal directories.