3
// UnitStatus represents the status of the unit or its agent.
3
// Status represents the status of an entity.
4
// It could be a unit, machine or its agent.
7
// The unit is not yet participating in the environment.
8
UnitPending UnitStatus = "pending"
8
// The entity is not yet participating in the environment.
9
StatusPending Status = "pending"
10
11
// The unit has performed initial setup and is adapting itself to
12
UnitInstalled UnitStatus = "installed"
14
// The unit is actively participating in the environment.
15
UnitStarted UnitStatus = "started"
17
// The unit's agent will perform no further action, other than to
18
// set the unit to Dead at a suitable moment.
19
UnitStopped UnitStatus = "stopped"
21
// The unit requires human intervention in order to operate
23
UnitError UnitStatus = "error"
25
// The unit agent ought to be signalling activity, but it cannot
27
UnitDown UnitStatus = "down"
30
// MachineStatus represents the status of the machine or its agent.
31
type MachineStatus string
34
// The machine is not yet participating in the environment.
35
MachinePending MachineStatus = "pending"
37
// The machine is actively participating in the environment.
38
MachineStarted MachineStatus = "started"
40
// The machine's agent will perform no further action, other than
41
// to set the machine to Dead at a suitable moment.
42
MachineStopped MachineStatus = "stopped"
44
// The machine requires human intervention in order to operate
47
MachineError MachineStatus = "error"
48
// The machine agent ought to be signalling activity, but it cannot
50
MachineDown MachineStatus = "down"
12
// the environment. Not applicable to machines.
13
StatusInstalled Status = "installed"
15
// The entity is actively participating in the environment.
16
StatusStarted Status = "started"
18
// The entity's agent will perform no further action, other than
19
// to set the unit to Dead at a suitable moment.
20
StatusStopped Status = "stopped"
22
// The entity requires human intervention in order to operate
24
StatusError Status = "error"
26
// The entity ought to be signalling activity, but it cannot be
28
StatusDown Status = "down"