command

package
v0.0.0-...-89bf411 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cm = cli.NewSubCommand("cm", "Config management operations", cmRun)
View Source
var Node = cli.NewSubCommand("node", "Node operations", nodeRun)
View Source
var Role = cli.NewSubCommand("role", "Role operations", roleRun)
View Source
var Service = cli.NewSubCommand("service", "Service operations", serviceRun)
View Source
var Wait = cli.NewSubCommand("wait", "Wait operations", waitRun)

* Some basic wait functionality built on top of consul.

Lots of potential improvements could be made here:

  • pass in a specific tag
  • implement a timeout (and add as optional arg)
  • implement a quorum, eg wait until n nodes are healthy, along with status output to support it -

Functions

func StrContains

func StrContains(l []string, s string) bool

StrContains checks if a list contains a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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