kubernetes: github.com/erimatnor/kubernetes/pkg/kubectl/cmd Index | Files | Directories

package cmd

import "github.com/erimatnor/kubernetes/pkg/kubectl/cmd"


Package 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 resize.go rollingupdate.go run.go stop.go update.go version.go


const MaxRetries = 3

func DeleteResult Uses

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

func DescribeMatchingResources Uses

func DescribeMatchingResources(mapper meta.RESTMapper, typer runtime.ObjectTyper, describer kubectl.Describer, f *cmdutil.Factory, namespace, rsrc, prefix string, out io.Writer) error

func NewCmdApiVersions Uses

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

func NewCmdClusterInfo Uses

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

func NewCmdCreate Uses

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

func NewCmdDelete Uses

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

func NewCmdDescribe Uses

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

func NewCmdExec Uses

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

func NewCmdExposeService Uses

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

func NewCmdGet Uses

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 Uses

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

func NewCmdLog Uses

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

NewCmdLog creates a new pod log command

func NewCmdNamespace Uses

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

TODO remove once people have been given enough time to notice

func NewCmdPortForward Uses

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

func NewCmdProxy Uses

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

func NewCmdResize Uses

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

func NewCmdRollingUpdate Uses

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

func NewCmdRunContainer Uses

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

func NewCmdStop Uses

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

func NewCmdUpdate Uses

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

func NewCmdVersion Uses

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

func NewKubectlCommand Uses

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 Uses

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

func RunApiVersions Uses

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

func RunClusterInfo Uses

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

func RunCreate Uses

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

func RunDelete Uses

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

func RunDescribe Uses

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

func RunExec Uses

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

func RunExpose Uses

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

func RunGet Uses

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 Uses

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

func RunLog Uses

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

RunLog retrieves a pod log

func RunPortForward Uses

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

func RunProxy Uses

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

func RunResize Uses

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

func RunRollingUpdate Uses

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

func RunRunContainer Uses

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

func RunStop Uses

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

func RunUpdate Uses

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

func RunVersion Uses

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

func ValidateArgs Uses

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



Package cmd imports 31 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.