cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2017 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TABLE_WIDTH = 80
)

Variables

This section is empty.

Functions

func NewCmdCompletion

func NewCmdCompletion(out io.Writer, boilerPlate string) *cobra.Command

func NewCmdCp

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

func NewCmdDownload

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

func NewCmdFinfo

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

func NewCmdLs

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

func NewCmdMkdir

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

func NewCmdMv

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

func NewCmdOptions

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

NewCmdOptions implements the options command

func NewCmdRm

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

func NewCmdUpload

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

func NewCmdUserAdd

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

func NewCmdUserDel

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

func NewCmdUserDisable

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

func NewCmdUserEnable

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

func NewCmdUserGet

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

func NewCmdUserList

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

func NewCmdUserModify

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

func NewCmdUserSearch

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

func NewCmdVersion

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

func NewFctlCommand

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

func RunCompletion

func RunCompletion(out io.Writer, boilerPlate string, cmd *cobra.Command, args []string) error

func RunCp

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

func RunFinfo

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

func RunLs

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

func RunMkdir

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

func RunMv

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

func RunRm

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

func RunUpload

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

func RunUserAdd

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

func RunUserDel

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

func RunUserDisable

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

func RunUserEnable

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

func RunUserGet

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

func RunUserList

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

func RunUserSearch

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

Types

type DownloadOptions

type DownloadOptions struct {
	// contains filtered or unexported fields
}

func (*DownloadOptions) Complete

func (o *DownloadOptions) Complete(cmd *cobra.Command) error

func (*DownloadOptions) Run

func (o *DownloadOptions) Run(f cmdutil.Factory, out io.Writer, cmdErr io.Writer, args []string) error

type HTTPStaticServer

type HTTPStaticServer struct {
	Root            string
	Upload          bool
	Delete          bool
	Title           string
	Theme           string
	PlistProxy      string
	GoogleTrackerId string
	AuthType        string
}

type UserModifyOptions

type UserModifyOptions struct {
	// contains filtered or unexported fields
}

func (*UserModifyOptions) Complete

func (o *UserModifyOptions) Complete(cmd *cobra.Command) error

func (*UserModifyOptions) RunUserModify

func (o *UserModifyOptions) RunUserModify(f cmdutil.Factory, out io.Writer, cmdErr io.Writer, args []string) error

func (*UserModifyOptions) Validate

func (o *UserModifyOptions) Validate() error

type Version

type Version struct {
	ClientVersion *version.Info `json:"clientVersion,omitempty" yaml:"clientVersion,omitempty"`
	ServerVersion *version.Info `json:"serverVersion,omitempty" yaml:"serverVersion,omitempty"`
}

type VersionOptions

type VersionOptions struct {
	// contains filtered or unexported fields
}

VersionOptions: describe the options available to users of the "kubectl version" command.

func (*VersionOptions) Complete

func (o *VersionOptions) Complete(cmd *cobra.Command) error

func (*VersionOptions) Run

func (o *VersionOptions) Run(f cmdutil.Factory, out io.Writer) error

func (*VersionOptions) Validate

func (o *VersionOptions) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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