Back to godoc.org
go.etcd.io/etcd / etcdctl / ctlv2 / command

Package command

v3.3.22+incompatible
Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module: go.etcd.io/etcd

Overview

Package command is a set of libraries for etcdctl commands.

Index

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier