Documentation
¶
Index ¶
- Variables
- func SerfCommands() sprint.Command
- type ClientProvider
- type MemberOutput
- type MembersContainer
- type SerfCommand
- func SerfEventCommand() SerfCommand
- func SerfInfoCommand() SerfCommand
- func SerfJoinCommand() SerfCommand
- func SerfLeaveCommand() SerfCommand
- func SerfMembersCommand() SerfCommand
- func SerfMonitorCommand() SerfCommand
- func SerfReachabilityCommand() SerfCommand
- func SerfRttCommand() SerfCommand
- func SerfTagsCommand() SerfCommand
- func SerfVersionCommand() SerfCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var RaftCommands = []interface{}{ SerfJoinCommand(), SerfMembersCommand(), SerfEventCommand(), SerfInfoCommand(), SerfVersionCommand(), SerfLeaveCommand(), SerfMonitorCommand(), SerfReachabilityCommand(), SerfRttCommand(), SerfTagsCommand(), SerfCommands(), }
Functions ¶
func SerfCommands ¶
Types ¶
type ClientProvider ¶
type MemberOutput ¶
type MembersContainer ¶
type MembersContainer struct {
Members []*MemberOutput `json:"members"`
}
func (MembersContainer) String ¶
func (t MembersContainer) String() string
type SerfCommand ¶
type SerfCommand interface {
/**
Full description of the command
*/
Help() string
SubCommand() string
Run(prov ClientProvider, args []string) error
/**
One line description of the command
*/
Synopsis() string
}
func SerfEventCommand ¶
func SerfEventCommand() SerfCommand
func SerfInfoCommand ¶
func SerfInfoCommand() SerfCommand
func SerfJoinCommand ¶
func SerfJoinCommand() SerfCommand
func SerfLeaveCommand ¶
func SerfLeaveCommand() SerfCommand
func SerfMembersCommand ¶
func SerfMembersCommand() SerfCommand
func SerfMonitorCommand ¶
func SerfMonitorCommand() SerfCommand
func SerfReachabilityCommand ¶
func SerfReachabilityCommand() SerfCommand
func SerfRttCommand ¶
func SerfRttCommand() SerfCommand
func SerfTagsCommand ¶
func SerfTagsCommand() SerfCommand
func SerfVersionCommand ¶
func SerfVersionCommand() SerfCommand
Click to show internal directories.
Click to hide internal directories.