master

package
v0.0.0-...-2eec6a9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Commands comannds exposed
	Commands = []cli.Command{
		{
			Action:    _new,
			Name:      "new",
			ArgsUsage: "path",
			Usage:     "create a new cluster",
			Flags: []cli.Flag{
				replicasFlag,
			},
		},
		{
			Action:    add,
			Name:      "add",
			ArgsUsage: "addr",
			Usage:     "add node to cluster",
			Flags: []cli.Flag{
				weightFlag,
			},
		},
		{
			Action:    remove,
			Name:      "remove",
			ArgsUsage: "index",
			Usage:     "remove node from cluster",
		},
		{
			Action:    alter,
			Name:      "alter",
			ArgsUsage: "index",
			Usage:     "alternate or replace a node",
			Flags: []cli.Flag{
				addrFlag,
				weightFlag,
			},
		},
		{
			Action: list,
			Name:   "list",
			Usage:  "list nodes in draft",
			Flags:  []cli.Flag{},
		},
		{
			Action: status,
			Name:   "status",
			Usage:  "query status of nodes in proposed spec",
			Flags:  []cli.Flag{},
		},
		{
			Action: propose,
			Name:   "propose",
			Usage:  "dispatch spec to nodes",
		},
		{
			Action: sync,
			Name:   "sync",
			Usage:  "notify nodes to sync",
		},
		{
			Action: approve,
			Name:   "approve",
			Usage:  "notify nodes that the spec has been approved",
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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