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.
Click to show internal directories.
Click to hide internal directories.