Versions in this module Expand all Collapse all v0 v0.22.3 Sep 17, 2021 Changes in this version + func NewCmdCordon(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdDrain(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdUncordon(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + type DrainCmdOptions struct + Namespace string + PrintFlags *genericclioptions.PrintFlags + ToPrinter func(string) (printers.ResourcePrinterFunc, error) + func NewDrainCmdOptions(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *DrainCmdOptions + func (o *DrainCmdOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *DrainCmdOptions) RunCordonOrUncordon(desired bool) error + func (o *DrainCmdOptions) RunDrain() error