Documentation ¶
Overview ¶
This docker package provides primitives for working with Docker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerFromDockerAuthKey ¶ added in v0.9.1
GetServerFromDockerAuthKey returns the registry server for the specified Docker auth key.
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.
Click to show internal directories.
Click to hide internal directories.