Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultTag defines the default tag used when performing images related actions and no tag or digest is specified DefaultTag = "latest" // DefaultHostname is the default built-in hostname DefaultHostname = "docker.io" // LegacyDefaultHostname is automatically converted to DefaultHostname LegacyDefaultHostname = "index.docker.io" // DefaultRepoPrefix is the prefix used for default repositories in default host DefaultRepoPrefix = "library/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { ContextPath string Config docker.BuildImageOptions }
Build holds the configuration required to build a Docker context
type Image ¶
type Image struct { Build *Build // contains filtered or unexported fields }
Image contains configuration necessary to deploy an image or if necessary, built it.
func FromString ¶
FromString creates an Image using a string representation
func (Image) KubeImage ¶
KubeImage returns a reference to the Image for use with the Image field of kube.Container.
func (Image) PushOptions ¶
PushOptions returns the parameters needed to push an image.
Click to show internal directories.
Click to hide internal directories.