cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// App contains flags, arguments and commands for an application:
	App = kingpin.New("katoctl", "Katoctl defines and deploys Kato's infrastructure.")

	// KatoRoles is a slice of valid Káto roles:
	KatoRoles = []string{"quorum", "master", "worker", "border"}
)

Functions

func Quadruplets

func Quadruplets(s kingpin.Settings, types, roles []string) *[]string

Quadruplets is a custom parser:

func RegexpMatch

func RegexpMatch(s kingpin.Settings, regexp string) *string

RegexpMatch is a regular expression custom parser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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