Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultDockerRegistry is the default docker registry address.
DefaultDockerRegistry = "https://registry-1.docker.io"
)
Variables ¶
This section is empty.
Functions ¶
func GetAuthConfig ¶
func GetAuthConfig(username, password, registry string) (types.AuthConfig, error)
GetAuthConfig returns the docker registry AuthConfig. Optionally takes in the authentication values, otherwise pulls them from the docker config file.
func GetRepoAndRef ¶
GetRepoAndRef parses the repo name and reference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.