Versions in this module Expand all Collapse all v3 v3.11.0 Oct 9, 2018 Changes in this version + const ManageNodeCommandName + func GetPodHostFieldLabel(apiVersion string) string + func NewCommandManageNode(f kcmdutil.Factory, commandName, fullName string, ...) *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 NewManageNodeOptions(streams genericclioptions.IOStreams) *ManageNodeOptions + func (o *ManageNodeOptions) Complete(c *cobra.Command, f kcmdutil.Factory, args []string) error + func (o *ManageNodeOptions) RunManageNode(c *cobra.Command) error + func (o *ManageNodeOptions) Validate(c *cobra.Command) error + type NodeOptions struct + Builder *resource.Builder + CmdPrinter kprinters.ResourcePrinter + CmdPrinterOutput bool + DefaultNamespace string + 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 + func NewNodeOptions(streams genericclioptions.IOStreams) *NodeOptions + func (n *NodeOptions) Complete(f kcmdutil.Factory, c *cobra.Command, args []string) 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 Other modules containing this package gopkg.in/openshift/origin.v4