kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go

type TaintOptions

var taintLong

var taintExample

func NewCmdTaint(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command {}

// Complete adapts from the command line args and factory to the data required.
func (o *TaintOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) (err error) {}

// validateFlags checks for the validation of flags for kubectl taints.
func (o TaintOptions) validateFlags() error {}

// Validate checks to the TaintOptions to see if there is sufficient information run the command.
func (o TaintOptions) Validate() error {}

// RunTaint does the work
func (o TaintOptions) RunTaint() error {}

// updateTaints applies a taint option(o) to a node in cluster after computing the net effect of operation(i.e. does it result in an overwrite?), it reports back the end result in a way that user can easily interpret.
func (o TaintOptions) updateTaints(obj runtime.Object) (string, error) {}