Documentation ¶
Index ¶
Constants ¶
View Source
const ( StartCommand = CommandName("start") StopCommand = CommandName("stop") RunAsSlaveCommand = CommandName("run_as_slave") RunAsMasterCommand = CommandName("run_as_master") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func NewCommand(cmd CommandName, consulState state.Consul) Command
func (*Command) Name ¶
func (c *Command) Name() CommandName
type CommandName ¶
type CommandName string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) CommandChWriter ¶
func (*Manager) CommandRunner ¶
func (m *Manager) CommandRunner()
func (*Manager) StateChReader ¶
Click to show internal directories.
Click to hide internal directories.