Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const ManageNodeCommandName + func GetPodHostFieldLabel(apiVersion string) string + func NewCommandManageNode(f *clientcmd.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 NodeOptions struct + CmdPrinter kubectl.ResourcePrinter + CmdPrinterOutput bool + DefaultNamespace string + ErrWriter io.Writer + KubeClient kclientset.Interface + Mapper meta.RESTMapper + NodeNames []string + PodSelector string + Printer func(mapping *meta.RESTMapping, printOptions kubectl.PrintOptions) (kubectl.ResourcePrinter, error) + RESTClientFactory func(mapping *meta.RESTMapping) (resource.RESTClient, error) + Selector string + Typer runtime.ObjectTyper + Writer io.Writer + func (n *NodeOptions) Complete(f *clientcmd.Factory, c *cobra.Command, args []string, out, errout io.Writer) error + func (n *NodeOptions) GetNodes() ([]*kapi.Node, error) + func (n *NodeOptions) GetPrinters(gvk unversioned.GroupVersionKind) (kubectl.ResourcePrinter, error) + func (n *NodeOptions) GetPrintersByObject(obj runtime.Object) (kubectl.ResourcePrinter, error) + func (n *NodeOptions) GetPrintersByResource(resource unversioned.GroupVersionResource) (kubectl.ResourcePrinter, error) + func (n *NodeOptions) Validate(checkNodeSelector bool) error + type SchedulableOptions struct + Options *NodeOptions + Schedulable bool + func (s *SchedulableOptions) Run() error v1.5.0-alpha.1 Dec 29, 2016