Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Controllers map[string]Controller
)
Functions ¶
func GetNodesByRole ¶
func GetNodesByRole(roleName string) ([]definition.Node, error)
func RegisterController ¶
func RegisterController(name string, controller Controller)
Types ¶
type Controller ¶
type Controller interface {
Name() string
Sync()
Stop()
}
Click to show internal directories.
Click to hide internal directories.