Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API provides access to the UnitAssigner API facade.
func (API) AssignUnits ¶
AssignUnits tells the controller to run whatever unit assignments it has. Unit assignments for units that no longer exist will return an error that satisfies errors.IsNotFound.
func (API) SetAgentStatus ¶
SetAgentStatus sets the status of the unit agents.
func (API) WatchUnitAssignments ¶
func (a API) WatchUnitAssignments() (watcher.StringsWatcher, error)
WatchUnitAssignments watches the server for new unit assignments to be created.
Click to show internal directories.
Click to hide internal directories.