Documentation ¶
Overview ¶
Package docker contains common types for docker configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config map[string]ConfigEntry
Config represents the config file used by the docker CLI. This config that represents the credentials that should be used when pulling images from specific image repositories.
type ConfigEntry ¶
type ConfigEntry struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Email string `json:"email,omitempty"` Auth string `json:"auth,omitempty"` }
ConfigEntry holds the user information that grant the access to docker registry
type ConfigJSON ¶
type ConfigJSON struct {
Auths Config `json:"auths"`
}
ConfigJSON represents a local docker auth config file for pulling images.
Click to show internal directories.
Click to hide internal directories.