Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RPCAddrFlag ¶
RPCAddrFlag returns a pointer to a string that will be populated when the given flagset is parsed with the RPC address of the Serf.
Types ¶
type EventCommand ¶
type EventCommand struct{}
EventCommand is a Command implementation that queries a running Serf agent what members are part of the cluster currently.
func (*EventCommand) Help ¶
func (c *EventCommand) Help() string
func (*EventCommand) Synopsis ¶
func (c *EventCommand) Synopsis() string
type ForceLeaveCommand ¶ added in v0.2.0
type ForceLeaveCommand struct{}
ForceLeaveCommand is a Command implementation that tells a running Serf to force a member to enter the "left" state.
func (*ForceLeaveCommand) Help ¶ added in v0.2.0
func (c *ForceLeaveCommand) Help() string
func (*ForceLeaveCommand) Run ¶ added in v0.2.0
func (c *ForceLeaveCommand) Run(args []string, ui cli.Ui) int
func (*ForceLeaveCommand) Synopsis ¶ added in v0.2.0
func (c *ForceLeaveCommand) Synopsis() string
type JoinCommand ¶
type JoinCommand struct{}
JoinCommand is a Command implementation that tells a running Serf agent to join another.
func (*JoinCommand) Help ¶
func (c *JoinCommand) Help() string
func (*JoinCommand) Synopsis ¶
func (c *JoinCommand) Synopsis() string
type KeygenCommand ¶ added in v0.2.0
type KeygenCommand struct{}
KeygenCommand is a Command implementation that generates an encryption key for use in `serf agent`.
func (*KeygenCommand) Help ¶ added in v0.2.0
func (c *KeygenCommand) Help() string
func (*KeygenCommand) Synopsis ¶ added in v0.2.0
func (c *KeygenCommand) Synopsis() string
type MembersCommand ¶
type MembersCommand struct{}
MembersCommand is a Command implementation that queries a running Serf agent what members are part of the cluster currently.
func (*MembersCommand) Help ¶
func (c *MembersCommand) Help() string
func (*MembersCommand) Synopsis ¶
func (c *MembersCommand) Synopsis() string
type MonitorCommand ¶
type MonitorCommand struct { ShutdownCh <-chan struct{} // contains filtered or unexported fields }
MonitorCommand is a Command implementation that queries a running Serf agent what members are part of the cluster currently.
func (*MonitorCommand) Help ¶
func (c *MonitorCommand) Help() string
func (*MonitorCommand) Synopsis ¶
func (c *MonitorCommand) Synopsis() string
type VersionCommand ¶
VersionCommand is a Command implementation prints the version.
func (*VersionCommand) Help ¶
func (c *VersionCommand) Help() string
func (*VersionCommand) Synopsis ¶
func (c *VersionCommand) Synopsis() string