Documentation
¶
Overview ¶
Package imagepullpolicy adapts the API image pull policy for pflag.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag struct {
// contains filtered or unexported fields
}
Flag adapts api ImagePullPolicy for pflag.
func NewFlag ¶
func NewFlag(value *runneroptions.ImagePullPolicy) *Flag
NewFlag returns a pflag.Value that writes into value.
func (*Flag) AllStrings ¶
AllStrings returns the allowed image pull policy values.
func (*Flag) HelpAllowedValues ¶
HelpAllowedValues builds help text for the allowed values.