cmd

package
v0.0.0-...-9575221 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "otter",
	Short: "Otter is an opinionated container-oriented configuration management framework written in Go.",
}

This represents the base command when called without any subcommands

Functions

func DumpHosts

func DumpHosts(hosts map[string]bool)

func DumpResults

func DumpResults(resultMap *state.ResultMap)

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetEtcdUrls

func GetEtcdUrls(flag *pflag.Flag) []string

func GetStatePath

func GetStatePath(flag *pflag.Flag) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL