Documentation ¶
Overview ¶
Package command is a set of libraries for etcdctl commands.
Index ¶
- Constants
- Variables
- func NewAuthCommands() cli.Command
- func NewBackupCommand() cli.Command
- func NewClusterHealthCommand() cli.Command
- func NewExecWatchCommand() cli.Command
- func NewGetCommand() cli.Command
- func NewLsCommand() cli.Command
- func NewMakeCommand() cli.Command
- func NewMakeDirCommand() cli.Command
- func NewMemberCommand() cli.Command
- func NewRemoveCommand() cli.Command
- func NewRemoveDirCommand() cli.Command
- func NewRoleCommands() cli.Command
- func NewSetCommand() cli.Command
- func NewSetDirCommand() cli.Command
- func NewUpdateCommand() cli.Command
- func NewUpdateDirCommand() cli.Command
- func NewUserCommands() cli.Command
- func NewWatchCommand() cli.Command
Constants ¶
View Source
const ( ExitSuccess = iota ExitBadArgs ExitBadConnection ExitBadAuth ExitServerError ExitClusterNotHealthy )
Variables ¶
View Source
var (
ErrNoAvailSrc = errors.New("no available argument and stdin")
)
Functions ¶
func NewAuthCommands ¶
func NewBackupCommand ¶
func NewClusterHealthCommand ¶
func NewExecWatchCommand ¶
NewExecWatchCommand returns the CLI command for "exec-watch".
func NewGetCommand ¶
NewGetCommand returns the CLI command for "get".
func NewLsCommand ¶
func NewMakeCommand ¶
NewMakeCommand returns the CLI command for "mk".
func NewMakeDirCommand ¶
NewMakeDirCommand returns the CLI command for "mkdir".
func NewMemberCommand ¶
func NewRemoveCommand ¶
NewRemoveCommand returns the CLI command for "rm".
func NewRemoveDirCommand ¶
NewRemoveDirCommand returns the CLI command for "rmdir".
func NewRoleCommands ¶
func NewSetCommand ¶
NewSetCommand returns the CLI command for "set".
func NewSetDirCommand ¶
NewSetDirCommand returns the CLI command for "setDir".
func NewUpdateCommand ¶
NewUpdateCommand returns the CLI command for "update".
func NewUpdateDirCommand ¶
NewUpdateDirCommand returns the CLI command for "updatedir".
func NewUserCommands ¶
func NewWatchCommand ¶
NewWatchCommand returns the CLI command for "watch".
Types ¶
This section is empty.
Source Files ¶
- auth_commands.go
- backup_command.go
- cluster_health.go
- doc.go
- error.go
- exec_watch_command.go
- format.go
- get_command.go
- ls_command.go
- member_commands.go
- mk_command.go
- mkdir_command.go
- rm_command.go
- rmdir_command.go
- role_commands.go
- set_command.go
- set_dir_command.go
- update_command.go
- update_dir_command.go
- user_commands.go
- util.go
- watch_command.go
Click to show internal directories.
Click to hide internal directories.