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 NewLoadPURCommand ¶
func NewLoadWatchCommand ¶
NewLoadWatchCommand returns the cobra command for "load watch test for etcdloadtest".
func RandomStrings ¶
RandomStrings retruns a slice of randomly generated strings.
func UniqueStrings ¶
UniqueStrings retruns a slice of randomly generated unique strings.
Types ¶
type GlobalFlags ¶
GlobalFlags are flags that defined globally and are inherited to all sub-commands.
Click to show internal directories.
Click to hide internal directories.