package cmd
import "k8s.io/kubernetes/pkg/kubectl/cmd"
Index ¶
- func DeleteResult(r *resource.Result, out io.Writer, ignoreNotFound bool) error
- func DescribeMatchingResources(mapper meta.RESTMapper, typer runtime.ObjectTyper, describer kubectl.Describer, f *cmdutil.Factory, namespace, rsrc, prefix string, out io.Writer) error
- func NewCmdApiVersions(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdClusterInfo(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdCreate(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdDelete(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdDescribe(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdExec(f *cmdutil.Factory, cmdIn io.Reader, cmdOut, cmdErr io.Writer) *cobra.Command
- func NewCmdExposeService(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdGet(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdLabel(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdLog(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdNamespace(out io.Writer) *cobra.Command
- func NewCmdPortForward(f *cmdutil.Factory) *cobra.Command
- func NewCmdProxy(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRollingUpdate(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRun(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdScale(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdStop(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdUpdate(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, isDefaultDelete, ignoreNotFound bool, timeout time.Duration, gracePeriod int) error
- func Run(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunApiVersions(f *cmdutil.Factory, out io.Writer) error
- func RunClusterInfo(factory *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error
- func RunCreate(f *cmdutil.Factory, out io.Writer, filenames util.StringList) error
- func RunDelete(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error
- func RunDescribe(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunExec(f *cmdutil.Factory, cmd *cobra.Command, cmdIn io.Reader, cmdOut, cmdErr io.Writer, p *execParams, argsIn []string, re remoteExecutor) error
- func RunExpose(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunGet(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunLabel(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunLog(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunPortForward(f *cmdutil.Factory, cmd *cobra.Command, args []string, fw portForwarder) error
- func RunProxy(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error
- func RunRollingUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunScale(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string) error
- func RunStop(f *cmdutil.Factory, cmd *cobra.Command, args []string, filenames util.StringList, out io.Writer) error
- func RunUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error
- func RunVersion(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command) error
- func ValidateArgs(cmd *cobra.Command, args []string) error
Functions ¶
func DeleteResult ¶
func DescribeMatchingResources ¶
func DescribeMatchingResources(mapper meta.RESTMapper, typer runtime.ObjectTyper, describer kubectl.Describer, f *cmdutil.Factory, namespace, rsrc, prefix string, out io.Writer) error
func NewCmdApiVersions ¶
func NewCmdClusterInfo ¶
func NewCmdCreate ¶
func NewCmdDelete ¶
func NewCmdDescribe ¶
func NewCmdExec ¶
func NewCmdExposeService ¶
func NewCmdGet ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdLabel ¶
func NewCmdLog ¶
NewCmdLog creates a new pod log command
func NewCmdNamespace ¶
TODO remove once people have been given enough time to notice
func NewCmdPortForward ¶
func NewCmdProxy ¶
func NewCmdRollingUpdate ¶
func NewCmdRun ¶
func NewCmdScale ¶
NewCmdScale returns a cobra command with the appropriate configuration and flags to run scale
func NewCmdStop ¶
func NewCmdUpdate ¶
func NewCmdVersion ¶
func NewKubectlCommand ¶
NewKubectlCommand creates the `kubectl` command and its nested children.
func ReapResult ¶
func ReapResult(r *resource.Result, f *cmdutil.Factory, out io.Writer, isDefaultDelete, ignoreNotFound bool, timeout time.Duration, gracePeriod int) error
func Run ¶
func RunApiVersions ¶
func RunClusterInfo ¶
func RunCreate ¶
func RunDelete ¶
func RunDelete(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error
func RunDescribe ¶
func RunExec ¶
func RunExec(f *cmdutil.Factory, cmd *cobra.Command, cmdIn io.Reader, cmdOut, cmdErr io.Writer, p *execParams, argsIn []string, re remoteExecutor) error
func RunExpose ¶
func RunGet ¶
RunGet implements the generic Get command TODO: convert all direct flag accessors to a struct and pass that instead of cmd
func RunLabel ¶
func RunLog ¶
RunLog retrieves a pod log
func RunPortForward ¶
func RunProxy ¶
func RunRollingUpdate ¶
func RunScale ¶
RunScale executes the scaling
func RunStop ¶
func RunStop(f *cmdutil.Factory, cmd *cobra.Command, args []string, filenames util.StringList, out io.Writer) error
func RunUpdate ¶
func RunUpdate(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, filenames util.StringList) error
func RunVersion ¶
func ValidateArgs ¶
Source Files ¶
apiversions.go clusterinfo.go cmd.go create.go delete.go describe.go exec.go expose.go get.go label.go log.go namespace.go portforward.go proxy.go rollingupdate.go run.go scale.go stop.go update.go version.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubectl/cmd/config | |
pkg/kubectl/cmd/util |
- Version
- v0.19.2
- Published
- Jun 22, 2015
- Platform
- js/wasm
- Imports
- 26 packages
- Last checked
- 2 seconds ago –
Tools for package owners.