Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { *resource.Status Name string Tag string // contains filtered or unexported fields }
Image is responsible for pulling docker images
func (*Image) Apply ¶
func (i *Image) Apply() (resource.TaskStatus, error)
Apply pulls a docker image
type Preparer ¶
type Preparer struct { // name of the image to pull Name string `hcl:"name"` // tag of the image to pull Tag string `hcl:"tag"` // the amount of time to wait after a period of inactivity. The timeout is // reset each time new data arrives. The format is Go's duration string. A // duration string is a possibly signed sequence of decimal numbers, each with // optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". // Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". InactivityTimeout string `hcl:"inactivity_timeout" doc_type:"duration_string"` }
Preparer for docker images
Image is responsible for pulling Docker images. It assumes that there is already a Docker daemon running on the system.
Click to show internal directories.
Click to hide internal directories.