Documentation ¶
Index ¶
Constants ¶
View Source
const ( // http://tldp.org/LDP/abs/html/exitcodes.html ExitSuccess = iota ExitError ExitBadConnection ExitInvalidInput // for txn, watch command ExitBadFeature // provided a valid flag with an unsupported value ExitInterrupted ExitIO ExitBadArgs = 128 )
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func NewMemberAddCommand ¶
NewMemberAddCommand returns the cobra command for "member add".
func NewMemberCommand ¶
NewMemberCommand returns the cobra command for "member".
func NewMemberListCommand ¶
NewMemberListCommand returns the cobra command for "member list".
func NewMemberRemoveCommand ¶
NewMemberRemoveCommand returns the cobra command for "member remove".
func NewVersionCommand ¶
NewVersionCommand prints out the version of etcd.
Types ¶
Click to show internal directories.
Click to hide internal directories.