Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPullPolicy = errors.New("invalid pull policy")
Functions ¶
Types ¶
type PullOpts ¶
type PullOpts struct { Policy PullPolicy Output io.Writer }
PullOpts contains options for the pull operation.
type PullPolicy ¶
type PullPolicy string
const ( // PullAlways means that we always pull the image. PullAlways PullPolicy = "always" // PullMissing means that we pull the image if it does not already exist. PullMissing PullPolicy = "missing" // PullNever means that we never pull the image. PullNever PullPolicy = "never" )
func ParsePullPolicy ¶
func ParsePullPolicy(value string) (PullPolicy, error)
Click to show internal directories.
Click to hide internal directories.