command - ActiveState ActiveGo 1.8
...

Package command

import "github.com/coreos/etcd/etcdctl/ctlv2/command"
Overview
Index

Overview ▾

Package command is a set of libraries for etcdctl commands.

Constants

const (
    ExitSuccess = iota
    ExitBadArgs
    ExitBadConnection
    ExitBadAuth
    ExitServerError
    ExitClusterNotHealthy
)

Variables

var (
    ErrNoAvailSrc = errors.New("no available argument and stdin")
)

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 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".