Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "casper",
Short: "Casper",
Long: `Configuration Automation for Safe and Painless Environment Releases
.-----.
.' - - '.
/ .-. .-. \
| | | | | |
\ \o/ \o/ /
_/ ^ \_
| \ '---' / |
/ /'--. .--'\ \
/ /'---' '---'\ \
'.__. .__.'
'| |'
| \
\ '--.
'. '\
''---. |
,__) /
'..'
`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type ConsulKV ¶
type ConsulKV interface {
List(prefix string, q *api.QueryOptions) (api.KVPairs, *api.QueryMeta, error)
Put(p *api.KVPair, q *api.WriteOptions) (*api.WriteMeta, error)
Delete(key string, w *api.WriteOptions) (*api.WriteMeta, error)
}
ConsulKV is interface that consul KV type implements. Defined and used mainly for testing.
Click to show internal directories.
Click to hide internal directories.