Documentation ¶
Index ¶
Constants ¶
View Source
const ( KVStoreConsul = "consul" KVStoreZookeeper = "zookeeper" KVStoreEtcd = "etcd" )
Variables ¶
This section is empty.
Functions ¶
func AddKVStoreFlags ¶
func AddKVStoreFlags(fs *flag.FlagSet, kv *KVStoreConfig)
AddKVStoreFlags adds to an existing flagset the command lines flags to configure the key-value store connection
func RunCommand ¶
func RunCommand(commandName string, command cli.CommandFactory)
RunCommand runs a single command
func RunSubcommands ¶
func RunSubcommands(commandName string, subcommands map[string]cli.CommandFactory)
RunSubcommands a command given its subcommands
Types ¶
type KVStoreConfig ¶
KVStoreConfig holds the key-value store configuration set from the command line
Click to show internal directories.
Click to hide internal directories.