Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigLookup ¶
type ConfigLookup struct {
*configfile.ConfigFile
}
ConfigLookup implements AuthLookup by reading a Docker config file
func NewConfigLookup ¶
func NewConfigLookup(configfile *configfile.ConfigFile) *ConfigLookup
NewConfigLookup creates a new ConfigLookup for a given context
func (*ConfigLookup) All ¶
func (c *ConfigLookup) All() map[string]types.AuthConfig
All uses a Docker config file to get all authentication information
func (*ConfigLookup) Lookup ¶
func (c *ConfigLookup) Lookup(repoInfo *registry.RepositoryInfo) types.AuthConfig
Lookup uses a Docker config file to lookup authentication information
type Lookup ¶
type Lookup interface { All() map[string]types.AuthConfig Lookup(repoInfo *registry.RepositoryInfo) types.AuthConfig }
Lookup defines a method for looking up authentication information
Click to show internal directories.
Click to hide internal directories.