Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + const ManageNodeCommandName + func GetPodHostFieldLabel(apiVersion string) string + func NewCommandManageNode(f kcmdutil.Factory, commandName, fullName string, out, errout io.Writer) *cobra.Command + func ValidOperation(c *cobra.Command) error + type EvacuateOptions struct + DryRun bool + Force bool + GracePeriod int64 + Options *NodeOptions + func NewEvacuateOptions(nodeOptions *NodeOptions) *EvacuateOptions + func (e *EvacuateOptions) AddFlags(cmd *cobra.Command) + func (e *EvacuateOptions) Run() error + func (e *EvacuateOptions) RunEvacuate(node *kapi.Node) error + type ListPodsOptions struct + Options *NodeOptions + func (l *ListPodsOptions) AddFlags(cmd *cobra.Command) + func (l *ListPodsOptions) Run() error + type ManageNodeOptions struct + func (n *ManageNodeOptions) Complete(c *cobra.Command, f kcmdutil.Factory, args []string) error + func (n *ManageNodeOptions) RunManageNode(c *cobra.Command) error + func (n *ManageNodeOptions) Validate(c *cobra.Command) error + type NodeOptions struct + Builder *resource.Builder + CmdPrinter kprinters.ResourcePrinter + CmdPrinterOutput bool + DefaultNamespace string + ErrWriter io.Writer + ExternalKubeClient kubernetes.Interface + KubeClient kclientset.Interface + Mapper meta.RESTMapper + NodeNames []string + PodSelector string + Printer func(mapping *meta.RESTMapping, withNamespace bool) (kprinters.ResourcePrinter, error) + Selector string + Typer runtime.ObjectTyper + Writer io.Writer + func (n *NodeOptions) Complete(f kcmdutil.Factory, c *cobra.Command, args []string, out, errout io.Writer) error + func (n *NodeOptions) GetNodes() ([]*kapi.Node, error) + func (n *NodeOptions) GetPrinters(gvk schema.GroupVersionKind, withNamespace bool) (kprinters.ResourcePrinter, error) + func (n *NodeOptions) GetPrintersByObject(obj runtime.Object) (kprinters.ResourcePrinter, error) + func (n *NodeOptions) GetPrintersByResource(resource schema.GroupVersionResource, withNamespace bool) (kprinters.ResourcePrinter, error) + func (n *NodeOptions) Validate(checkNodeSelector bool) error + type SchedulableOptions struct + Options *NodeOptions + Schedulable bool + func (s *SchedulableOptions) Run() error