Documentation ¶
Index ¶
Constants ¶
View Source
const ( MODIFIED = "modified" TAINTED = "tainted" UNTAINTED = "untainted" )
Exported taint constant strings to mark the type of the current operation
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandTaintOption ¶
type CommandTaintOption struct { // DryRun tells if run the command in dry-run mode, without making any server requests. DryRun bool // contains filtered or unexported fields }
CommandTaintOption holds all command options for taint
func (*CommandTaintOption) Complete ¶
func (o *CommandTaintOption) Complete(f cmdutil.Factory, args []string) error
Complete ensures that options are valid and marshals them if necessary
func (*CommandTaintOption) Run ¶
func (o *CommandTaintOption) Run(f util.Factory) error
Run set taints for the clusters
func (*CommandTaintOption) Validate ¶
func (o *CommandTaintOption) Validate() error
Validate checks to the TaintOptions to see if there is sufficient information run the command
Click to show internal directories.
Click to hide internal directories.