command

package
v3.0.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package command is a set of libraries for etcdctl commands.

Index

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 NewAuthCommands() cli.Command

func NewBackupCommand

func NewBackupCommand() cli.Command

func NewClusterHealthCommand

func NewClusterHealthCommand() cli.Command

func NewExecWatchCommand

func NewExecWatchCommand() cli.Command

NewExecWatchCommand returns the CLI command for "exec-watch".

func NewGetCommand

func NewGetCommand() cli.Command

NewGetCommand returns the CLI command for "get".

func NewImportSnapCommand

func NewImportSnapCommand() cli.Command

func NewLsCommand

func NewLsCommand() cli.Command

func NewMakeCommand

func NewMakeCommand() cli.Command

NewMakeCommand returns the CLI command for "mk".

func NewMakeDirCommand

func NewMakeDirCommand() cli.Command

NewMakeDirCommand returns the CLI command for "mkdir".

func NewMemberCommand

func NewMemberCommand() cli.Command

func NewRemoveCommand

func NewRemoveCommand() cli.Command

NewRemoveCommand returns the CLI command for "rm".

func NewRemoveDirCommand

func NewRemoveDirCommand() cli.Command

NewRemoveDirCommand returns the CLI command for "rmdir".

func NewRoleCommands

func NewRoleCommands() cli.Command

func NewSetCommand

func NewSetCommand() cli.Command

NewSetCommand returns the CLI command for "set".

func NewSetDirCommand

func NewSetDirCommand() cli.Command

NewSetDirCommand returns the CLI command for "setDir".

func NewUpdateCommand

func NewUpdateCommand() cli.Command

NewUpdateCommand returns the CLI command for "update".

func NewUpdateDirCommand

func NewUpdateDirCommand() cli.Command

NewUpdateDirCommand returns the CLI command for "updatedir".

func NewUserCommands

func NewUserCommands() cli.Command

func NewWatchCommand

func NewWatchCommand() cli.Command

NewWatchCommand returns the CLI command for "watch".

Types

This section is empty.

Jump to

Keyboard shortcuts

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