Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2015 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const MaxRetries = 3

Variables

This section is empty.

Functions

func DeleteResult added in v0.16.0

func DeleteResult(r *resource.Result, out io.Writer) error

func NewCmdApiVersions added in v0.15.0

func NewCmdApiVersions(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdClusterInfo added in v0.15.0

func NewCmdClusterInfo(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdCreate added in v0.15.0

func NewCmdCreate(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdDelete added in v0.15.0

func NewCmdDelete(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdDescribe added in v0.15.0

func NewCmdDescribe(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdExec added in v0.15.0

func NewCmdExec(f *cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command

func NewCmdExposeService added in v0.15.0

func NewCmdExposeService(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdGet added in v0.15.0

func NewCmdGet(f *cmdutil.Factory, out io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdLabel added in v0.15.0

func NewCmdLabel(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdLog

func NewCmdLog(f *cmdutil.Factory, out io.Writer) *cobra.Command

NewCmdLog creates a new pod log command

func NewCmdNamespace

func NewCmdNamespace(out io.Writer) *cobra.Command

TODO remove once people have been given enough time to notice

func NewCmdPortForward added in v0.15.0

func NewCmdPortForward(f *cmdutil.Factory) *cobra.Command

func NewCmdProxy

func NewCmdProxy(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdResize added in v0.15.0

func NewCmdResize(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdRollingUpdate added in v0.15.0

func NewCmdRollingUpdate(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdRunContainer added in v0.15.0

func NewCmdRunContainer(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdStop added in v0.15.0

func NewCmdStop(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdUpdate added in v0.15.0

func NewCmdUpdate(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdVersion

func NewCmdVersion(f *cmdutil.Factory, out io.Writer) *cobra.Command

func NewKubectlCommand added in v0.15.0

func NewKubectlCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command

NewKubectlCommand creates the `kubectl` command and its nested children.

func ReapResult added in v0.16.0

func ReapResult(r *resource.Result, f *cmdutil.Factory, out io.Writer, isDefaultDelete bool) error

func RunApiVersions added in v0.14.0

func RunApiVersions(f *cmdutil.Factory, out io.Writer) error

func RunClusterInfo added in v0.13.0

func RunClusterInfo(factory *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error

func RunCreate added in v0.13.0

func RunCreate(f *cmdutil.Factory, out io.Writer, filenames util.StringList) error

func RunDelete added in v0.13.0

func RunDelete(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error

func RunDescribe added in v0.13.0

func RunDescribe(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunExec added in v0.13.0

func RunExec(f *cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer, cmd *cobra.Command, args []string) error

func RunExpose added in v0.13.0

func RunExpose(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunGet added in v0.9.0

func RunGet(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

RunGet implements the generic Get command TODO: convert all direct flag accessors to a struct and pass that instead of cmd

func RunLabel added in v0.13.0

func RunLabel(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunLog added in v0.13.0

func RunLog(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

RunLog retrieves a pod log

func RunPortForward added in v0.13.0

func RunPortForward(f *cmdutil.Factory, cmd *cobra.Command, args []string) error

func RunProxy added in v0.13.0

func RunProxy(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error

func RunResize added in v0.13.0

func RunResize(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunRollingUpdate added in v0.13.0

func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunRunContainer added in v0.13.0

func RunRunContainer(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error

func RunStop added in v0.16.0

func RunStop(f *cmdutil.Factory, cmd *cobra.Command, args []string, filenames util.StringList, out io.Writer) error

func RunUpdate added in v0.13.0

func RunUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error

func RunVersion added in v0.13.0

func RunVersion(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error

func ValidateArgs added in v0.14.0

func ValidateArgs(cmd *cobra.Command, args []string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL