Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StatesResponse ¶
type StatesResponse struct {
States []UnitState `json:"states"`
}
type Unit ¶
type Unit struct { CurrentState string `json:"currentState,omitempty"` DesiredState string `json:"desiredState"` MachineID string `json:"machineID,omitempty"` Name string `json:"name,omitempty"` Options []UnitOption `json:"options"` }
type UnitOption ¶
type UnitsResponse ¶
type UnitsResponse struct {
Units []Unit `json:"units"`
}
Click to show internal directories.
Click to hide internal directories.