Documentation
¶
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 represents the credentials that should be used when pulling images from specific image repositories.
type ConfigEntry ¶
type ConfigEntry struct { Username string `json:"username"` Password string `json:"password"` Auth string `json:"auth"` }
ConfigEntry an entry in the Config
type ConfigJSON ¶
type ConfigJSON struct {
Auths Config `json:"auths"`
}
ConfigJSON contains auths for pulling from image repositories
type ImageReference ¶
ImageReference is a reference to a docker image
func ParseImageReference ¶
func ParseImageReference(imageURI string) (*ImageReference, error)
ParseImageReference parse an imageURI
Click to show internal directories.
Click to hide internal directories.