cmd

package
v0.0.0-...-4cfcb05 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2016 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// ClusterUnknown for unknown state
	ClusterUnknown clusterState = iota
	// ClusterBootstrap for when quorum has never been achieved
	ClusterBootstrap
	// ClusterQuorum for any time after the first time quorum is achieved
	ClusterQuorum
	// ClusterLost for when quorum is lost
	ClusterLost
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "capman",
	Short: "Capman maintains an evented set of peers in consul.",
	Long:  `See http://github.com/hartzler/capman`,
	Run: func(cmd *cobra.Command, args []string) {

	},
}

RootCmd is the main command to exec

Functions

func Init

func Init(name, version string) *cobra.Command

Init sets up the version command

Types

This section is empty.

Jump to

Keyboard shortcuts

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