Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PullFlags = []cli.Flag{ cli.StringFlag{ Name: "addr", Value: "localhost:8500", Usage: "consul HTTP API address with port", }, cli.StringFlag{ Name: "dc", Value: "dc1", Usage: "consul datacenter, uses local if blank", }, cli.StringFlag{ Name: "prefix", Value: "fileconsul", Usage: "reading file status from Consul's K/V store with the given prefix", }, cli.StringFlag{ Name: "basepath", Value: ".", Usage: "base directory path of target files", }, }
View Source
var PushFlags = []cli.Flag{ cli.StringFlag{ Name: "addr", Value: "localhost:8500", Usage: "consul HTTP API address with port", }, cli.StringFlag{ Name: "dc", Value: "dc1", Usage: "consul datacenter, uses local if blank", }, cli.StringFlag{ Name: "prefix", Value: "fileconsul", Usage: "reading file status from Consul's K/V store with the given prefix", }, cli.StringFlag{ Name: "basepath", Value: ".", Usage: "base directory path of target files", }, }
View Source
var StatusFlags = []cli.Flag{ cli.StringFlag{ Name: "addr", Value: "localhost:8500", Usage: "consul HTTP API address with port", }, cli.StringFlag{ Name: "dc", Value: "dc1", Usage: "consul datacenter, uses local if blank", }, cli.StringFlag{ Name: "prefix", Value: "fileconsul", Usage: "reading file status from Consul's K/V store with the given prefix", }, cli.StringFlag{ Name: "basepath", Value: ".", Usage: "base directory path of target files", }, }
Functions ¶
func PullCommand ¶
func PushCommand ¶
func StatusCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.