commands

package
v0.0.0-...-19f29dd Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockCommandFactory

func BlockCommandFactory() (cli.Command, error)

func ClusterCommandFactory

func ClusterCommandFactory() (cli.Command, error)

func FederationCommandFactory

func FederationCommandFactory() (cli.Command, error)

func FillCommandFactory

func FillCommandFactory() (cli.Command, error)

func KillCommandFactory

func KillCommandFactory() (cli.Command, error)

func LoadCommandFactory

func LoadCommandFactory() (cli.Command, error)

func UpgradeCommandFactory

func UpgradeCommandFactory() (cli.Command, error)

Types

type Block

type Block struct {
}

func (*Block) Help

func (c *Block) Help() string

func (*Block) Run

func (c *Block) Run(args []string) int

func (*Block) Synopsis

func (c *Block) Synopsis() string

type Cluster

type Cluster struct {
}

func (*Cluster) Help

func (c *Cluster) Help() string

func (*Cluster) Run

func (c *Cluster) Run(args []string) int

func (*Cluster) Synopsis

func (c *Cluster) Synopsis() string

type Federation

type Federation struct {
}

func (*Federation) Help

func (c *Federation) Help() string

func (*Federation) Run

func (c *Federation) Run(args []string) int

func (*Federation) Synopsis

func (c *Federation) Synopsis() string

type Fill

type Fill struct {
}

func (*Fill) Help

func (c *Fill) Help() string

func (*Fill) Run

func (c *Fill) Run(args []string) int

func (*Fill) Synopsis

func (c *Fill) Synopsis() string

type Kill

type Kill struct {
}

func (*Kill) Help

func (c *Kill) Help() string

func (*Kill) Run

func (c *Kill) Run(args []string) int

func (*Kill) Synopsis

func (c *Kill) Synopsis() string

type Load

type Load struct {
}

func (*Load) Help

func (c *Load) Help() string

func (*Load) Run

func (c *Load) Run(args []string) int

func (*Load) Synopsis

func (c *Load) Synopsis() string

type ServerConfig

type ServerConfig struct {
	Server           bool   `json:"server,omitempty"`
	Bootstrap        bool   `json:"bootstrap,omitempty"`
	Bind             string `json:"bind_addr,omitempty"`
	DataDir          string `json:"data_dir,omitempty"`
	Datacenter       string `json:"datacenter,omitempty"`
	ACLMasterToken   string `json:"acl_master_token,omitempty"`
	ACLDatacenter    string `json:"acl_datacenter,omitempty"`
	ACLDefaultPolicy string `json:"acl_default_policy,omitempty"`
	RaftProtocol     int    `json:"raft_protocol,omitempty"`
	LogLevel         string `json:"log_level,omitempty"`
}

type Upgrade

type Upgrade struct {
}

func (*Upgrade) Help

func (c *Upgrade) Help() string

func (*Upgrade) Run

func (c *Upgrade) Run(args []string) int

func (*Upgrade) Synopsis

func (c *Upgrade) Synopsis() string

Jump to

Keyboard shortcuts

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