Documentation ¶
Index ¶
- func BlockCommandFactory() (cli.Command, error)
- func ClusterCommandFactory() (cli.Command, error)
- func FederationCommandFactory() (cli.Command, error)
- func FillCommandFactory() (cli.Command, error)
- func KillCommandFactory() (cli.Command, error)
- func LoadCommandFactory() (cli.Command, error)
- func UpgradeCommandFactory() (cli.Command, error)
- type Block
- type Cluster
- type Federation
- type Fill
- type Kill
- type Load
- type ServerConfig
- type Upgrade
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockCommandFactory ¶
func ClusterCommandFactory ¶
func FillCommandFactory ¶
func KillCommandFactory ¶
func LoadCommandFactory ¶
func UpgradeCommandFactory ¶
Types ¶
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 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"` }
Click to show internal directories.
Click to hide internal directories.