Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const EvictionKind + const EvictionSubresource + func CreateClusterRoleBinding(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateConfigMap(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateExternalNameService(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateNamespace(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreatePodDisruptionBudget(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateQuota(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateRoleBinding(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateSecretDockerRegistry(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateSecretGeneric(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateSecretTLS(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateServiceAccount(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateServiceClusterIP(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateServiceLoadBalancer(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func CreateServiceNodePort(f cmdutil.Factory, cmdOut io.Writer, cmd *cobra.Command, args []string) error + func DeleteResult(r *resource.Result, out io.Writer, ignoreNotFound bool, gracePeriod int, ...) error + func DescribeMatchingResources(f cmdutil.Factory, namespace, rsrc, prefix string, ...) error + func NameFromCommandArgs(cmd *cobra.Command, args []string) (string, error) + func NewCmdAlpha(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command + func NewCmdAnnotate(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdApiVersions(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdApply(baseName string, f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdApplyEditLastApplied(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdApplySetLastApplied(f cmdutil.Factory, out, err io.Writer) *cobra.Command + func NewCmdApplyViewLastApplied(f cmdutil.Factory, out, err io.Writer) *cobra.Command + func NewCmdAttach(f cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdAutoscale(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdCertificate(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdCertificateApprove(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdCertificateDeny(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdClusterInfo(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdClusterInfoDump(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCompletion(out io.Writer, boilerPlate string) *cobra.Command + func NewCmdConvert(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdCordon(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdCp(f cmdutil.Factory, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdCreate(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdCreateClusterRole(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateClusterRoleBinding(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateConfigMap(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateDeployment(f cmdutil.Factory, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdCreateNamespace(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreatePodDisruptionBudget(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateQuota(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateRole(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateRoleBinding(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateSecret(f cmdutil.Factory, cmdOut, errOut io.Writer) *cobra.Command + func NewCmdCreateSecretDockerRegistry(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateSecretGeneric(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateSecretTLS(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateService(f cmdutil.Factory, cmdOut, errOut io.Writer) *cobra.Command + func NewCmdCreateServiceAccount(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateServiceClusterIP(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateServiceExternalName(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateServiceLoadBalancer(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdCreateServiceNodePort(f cmdutil.Factory, cmdOut io.Writer) *cobra.Command + func NewCmdDelete(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdDescribe(f cmdutil.Factory, out, cmdErr io.Writer) *cobra.Command + func NewCmdDrain(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdEdit(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdExec(f cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdExplain(f cmdutil.Factory, out, cmdErr io.Writer) *cobra.Command + func NewCmdExposeService(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdForPlugin(f cmdutil.Factory, plugin *plugins.Plugin, runner plugins.PluginRunner, ...) *cobra.Command + func NewCmdGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command + func NewCmdHelp() *cobra.Command + func NewCmdLabel(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdLogs(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdOptions(out io.Writer) *cobra.Command + func NewCmdPatch(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdPlugin(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command + func NewCmdPortForward(f cmdutil.Factory, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdProxy(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdReplace(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdRollingUpdate(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdRun(f cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command + func NewCmdScale(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdTaint(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdTop(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command + func NewCmdTopNode(f cmdutil.Factory, options *TopNodeOptions, out io.Writer) *cobra.Command + func NewCmdTopPod(f cmdutil.Factory, options *TopPodOptions, out io.Writer) *cobra.Command + func NewCmdUncordon(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdVersion(f cmdutil.Factory, out io.Writer) *cobra.Command + func NewKubectlCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command + func ReapResult(r *resource.Result, f cmdutil.Factory, out io.Writer, ...) error + func RunApiVersions(f cmdutil.Factory, w io.Writer) error + func RunApply(f cmdutil.Factory, cmd *cobra.Command, out, errOut io.Writer, ...) error + func RunAutoscale(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func RunClusterInfo(f cmdutil.Factory, out io.Writer, cmd *cobra.Command) error + func RunCompletion(out io.Writer, boilerPlate string, cmd *cobra.Command, args []string) error + func RunCreate(f cmdutil.Factory, cmd *cobra.Command, out, errOut io.Writer, ...) error + func RunCreateSubcommand(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, ...) error + func RunDescribe(f cmdutil.Factory, out, cmdErr io.Writer, cmd *cobra.Command, args []string, ...) error + func RunEditOnCreate(f cmdutil.Factory, out, errOut io.Writer, cmd *cobra.Command, ...) error + func RunExplain(f cmdutil.Factory, out, cmdErr io.Writer, cmd *cobra.Command, args []string) error + func RunExpose(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func RunGet(f cmdutil.Factory, out, errOut io.Writer, cmd *cobra.Command, args []string, ...) error + func RunHelp(cmd *cobra.Command, args []string) + func RunPatch(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func RunProxy(f cmdutil.Factory, out io.Writer, cmd *cobra.Command) error + func RunReplace(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func RunRollingUpdate(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func RunRun(f cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer, ...) error + func RunScale(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error + func SupportEviction(clientset internalclientset.Interface) (string, error) + type AnnotateOptions struct + func (o *AnnotateOptions) Complete(out io.Writer, cmd *cobra.Command, args []string) (err error) + func (o AnnotateOptions) RunAnnotate(f cmdutil.Factory, cmd *cobra.Command) error + func (o AnnotateOptions) Validate() error + type ApplyOptions struct + Cascade bool + FilenameOptions resource.FilenameOptions + Force bool + GracePeriod int + Prune bool + PruneResources []pruneResource + Selector string + Timeout time.Duration + type AttachOptions struct + Attach RemoteAttach + CommandName string + Config *restclient.Config + GetPodTimeout time.Duration + Pod *api.Pod + PodClient coreclient.PodsGetter + func (p *AttachOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, argsIn []string) error + func (p *AttachOptions) GetContainerName(pod *api.Pod) (string, error) + func (p *AttachOptions) Run() error + func (p *AttachOptions) Validate() error + type CertificateOptions struct + func (options *CertificateOptions) Complete(cmd *cobra.Command, args []string) error + func (options *CertificateOptions) RunCertificateApprove(f cmdutil.Factory, out io.Writer) error + func (options *CertificateOptions) RunCertificateDeny(f cmdutil.Factory, out io.Writer) error + func (options *CertificateOptions) Validate() error + type ConvertOptions struct + func (o *ConvertOptions) Complete(f cmdutil.Factory, out io.Writer, cmd *cobra.Command) (err error) + func (o *ConvertOptions) RunConvert() error + type CreateClusterRoleOptions struct + NonResourceURLs []string + func (c *CreateClusterRoleOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (c *CreateClusterRoleOptions) RunCreateRole() error + func (c *CreateClusterRoleOptions) Validate() error + type CreateOptions struct + EditBeforeCreate bool + FilenameOptions resource.FilenameOptions + Raw string + Selector string + func (o *CreateOptions) ValidateArgs(cmd *cobra.Command, args []string) error + type CreateRoleOptions struct + Client internalversionrbac.RbacInterface + DryRun bool + Mapper meta.RESTMapper + Name string + Namespace string + Out io.Writer + OutputFormat string + PrintObject func(obj runtime.Object) error + ResourceNames []string + Resources []ResourceOptions + Verbs []string + func (c *CreateRoleOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (c *CreateRoleOptions) RunCreateRole() error + func (c *CreateRoleOptions) Validate() error + type CreateSubcommandOptions struct + DryRun bool + Name string + OutputFormat string + StructuredGenerator kubectl.StructuredGenerator + type DefaultRemoteAttach struct + func (*DefaultRemoteAttach) Attach(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error + type DefaultRemoteExecutor struct + func (*DefaultRemoteExecutor) Execute(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error + type DeleteOptions struct + Cascade bool + DeleteAll bool + DeleteNow bool + ErrOut io.Writer + ForceDeletion bool + GracePeriod int + IgnoreNotFound bool + Include3rdParty bool + Mapper meta.RESTMapper + Out io.Writer + Output string + Result *resource.Result + Selector string + Timeout time.Duration + WaitForDeletion bool + func (o *DeleteOptions) Complete(f cmdutil.Factory, out, errOut io.Writer, args []string, cmd *cobra.Command) error + func (o *DeleteOptions) RunDelete() error + func (o *DeleteOptions) Validate(cmd *cobra.Command) error + type DrainOptions struct + DeleteLocalData bool + DryRun bool + ErrOut io.Writer + Factory cmdutil.Factory + Force bool + GracePeriodSeconds int + IgnoreDaemonsets bool + Out io.Writer + Selector string + Timeout time.Duration + func (o *DrainOptions) RunCordonOrUncordon(desired bool) error + func (o *DrainOptions) RunDrain() error + func (o *DrainOptions) SetupDrain(cmd *cobra.Command, args []string) error + type ExecOptions struct + Command []string + Config *restclient.Config + Executor RemoteExecutor + FullCmdName string + PodClient coreclient.PodsGetter + SuggestedCmdUsage string + func (p *ExecOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, argsIn []string, argsLenAtDash int) error + func (p *ExecOptions) Run() error + func (p *ExecOptions) Validate() error + type GetOptions struct + IgnoreNotFound bool + Raw string + type HeapsterTopOptions struct + Namespace string + Port string + Scheme string + Service string + func (o *HeapsterTopOptions) Bind(flags *pflag.FlagSet) + type LabelOptions struct + func (o *LabelOptions) Complete(out io.Writer, cmd *cobra.Command, args []string) (err error) + func (o *LabelOptions) RunLabel(f cmdutil.Factory, cmd *cobra.Command) error + func (o *LabelOptions) Validate() error + type LogsOptions struct + Decoder runtime.Decoder + GetPodTimeout time.Duration + LogsForObject func(object, options runtime.Object, timeout time.Duration) (*restclient.Request, error) + Mapper meta.RESTMapper + Namespace string + Object runtime.Object + Options runtime.Object + Out io.Writer + ResourceArg string + Typer runtime.ObjectTyper + func (o *LogsOptions) Complete(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error + func (o LogsOptions) RunLogs() error + func (o LogsOptions) Validate() error + type PatchBuffer struct + Patch []byte + PatchType types.PatchType + type PatchOptions struct + Local bool + OutputFormat string + type PortForwardOptions struct + Config *restclient.Config + Namespace string + PodClient coreclient.PodsGetter + PodName string + PortForwarder portForwarder + Ports []string + RESTClient *restclient.RESTClient + ReadyChannel chan struct{} + StopChannel chan struct{} + func (o *PortForwardOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o PortForwardOptions) RunPortForward() error + func (o PortForwardOptions) Validate() error + type RemoteAttach interface + Attach func(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error + type RemoteExecutor interface + Execute func(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error + type ResourceOptions struct + Group string + Resource string + SubResource string + type RunObject struct + Kind string + Mapper meta.RESTMapper + Mapping *meta.RESTMapping + Object runtime.Object + type SetLastAppliedOptions struct + Codec runtime.Encoder + CreateAnnotation bool + DryRun bool + EnforceNamespace bool + ErrOut io.Writer + Factory cmdutil.Factory + FilenameOptions resource.FilenameOptions + InfoList []*resource.Info + Mapper meta.RESTMapper + Namespace string + Out io.Writer + Output string + PatchBufferList []PatchBuffer + Selector string + ShortOutput bool + Typer runtime.ObjectTyper + func (o *SetLastAppliedOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error + func (o *SetLastAppliedOptions) RunSetLastApplied(f cmdutil.Factory, cmd *cobra.Command) error + func (o *SetLastAppliedOptions) Validate(f cmdutil.Factory, cmd *cobra.Command) error + type StreamOptions struct + ContainerName string + Err io.Writer + In io.Reader + InterruptParent *interrupt.Handler + Namespace string + Out io.Writer + PodName string + Quiet bool + Stdin bool + TTY bool + type TaintOptions struct + func (o *TaintOptions) Complete(f cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) (err error) + func (o TaintOptions) RunTaint() error + func (o TaintOptions) Validate() error + type TopNodeOptions struct + Client *metricsutil.HeapsterMetricsClient + HeapsterOptions HeapsterTopOptions + NodeClient coreclient.NodesGetter + Printer *metricsutil.TopCmdPrinter + ResourceName string + Selector string + func (o *TopNodeOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string, out io.Writer) error + func (o *TopNodeOptions) Validate() error + func (o TopNodeOptions) RunTopNode() error + type TopOptions struct + type TopPodOptions struct + AllNamespaces bool + Client *metricsutil.HeapsterMetricsClient + HeapsterOptions HeapsterTopOptions + Namespace string + PodClient coreclient.PodsGetter + PrintContainers bool + Printer *metricsutil.TopCmdPrinter + ResourceName string + Selector string + func (o *TopPodOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string, out io.Writer) error + func (o *TopPodOptions) Validate() error + func (o TopPodOptions) RunTopPod() error + type Version struct + ClientVersion *apimachineryversion.Info + ServerVersion *apimachineryversion.Info + type VersionOptions struct + func (o *VersionOptions) Complete(cmd *cobra.Command) error + func (o *VersionOptions) Run(f cmdutil.Factory, out io.Writer) error + func (o *VersionOptions) Validate() error + type ViewLastAppliedOptions struct + All bool + ErrOut io.Writer + Factory cmdutil.Factory + FilenameOptions resource.FilenameOptions + LastAppliedConfigurationList []string + Out io.Writer + OutputFormat string + Selector string + func (o *ViewLastAppliedOptions) Complete(f cmdutil.Factory, args []string) error + func (o *ViewLastAppliedOptions) RunApplyViewLastApplied() error + func (o *ViewLastAppliedOptions) Validate(cmd *cobra.Command) error + func (o *ViewLastAppliedOptions) ValidateOutputArgs(cmd *cobra.Command) error