Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostFromServer ¶ added in v0.3.0
GetHostFromServer returns the host for the specified registry server.
In ~/.docker/config.json auth keys can be specified as URLs or host names. For the sake of comparison we need to normalize the registry identifier.
func GetServerFromImageRef ¶ added in v0.3.0
GetServerFromImageRef returns registry server from the specified imageRef.
Types ¶
type Auth ¶ added in v0.3.0
type Auth struct { Auth BasicAuth `json:"auth,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
Auth represent credentials used to login to a Docker registry.
type BasicAuth ¶ added in v0.3.0
type BasicAuth string
func NewBasicAuth ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.