Documentation ¶
Index ¶
Constants ¶
View Source
const ( PushAuthType = "PUSH_DOCKERCFG_PATH" PullAuthType = "PULL_DOCKERCFG_PATH" )
Default docker registry server
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct { }
Helper contains all the valid config options for reading the local dockercfg file
func NewHelper ¶
func NewHelper() *Helper
NewHelper creates a Flags object with the default values set.
func (*Helper) GetDockerAuth ¶
func (h *Helper) GetDockerAuth(imageName, authType string) (docker.AuthConfiguration, bool)
GetDockerAuth returns a valid Docker AuthConfiguration entry, and whether it was read from the local dockercfg file
func (*Helper) InstallFlags ¶
InstallFlags installs the Docker flag helper into a FlagSet with the default options and default values from the Helper object.
Click to show internal directories.
Click to hide internal directories.