type DrainCmdOptions …
var cordonLong …
var cordonExample …
func NewCmdCordon(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … }
var uncordonLong …
var uncordonExample …
func NewCmdUncordon(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … }
var drainLong …
var drainExample …
func NewDrainCmdOptions(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *DrainCmdOptions { … }
func (o *DrainCmdOptions) onPodDeletionOrEvictionFinished(pod *corev1.Pod, usingEviction bool, err error) { … }
func (o *DrainCmdOptions) onPodDeletionOrEvictionStarted(pod *corev1.Pod, usingEviction bool) { … }
func NewCmdDrain(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … }
func (o *DrainCmdOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { … }
func (o *DrainCmdOptions) RunDrain() error { … }
func (o *DrainCmdOptions) deleteOrEvictPodsSimple(nodeInfo *resource.Info) error { … }
func (o *DrainCmdOptions) RunCordonOrUncordon(desired bool) error { … }
func already(desired bool) string { … }
func changed(desired bool) string { … }