Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NotObserved is the default status, used when a reboot command has just // been issued. NotObserved = NodeStatus(0) // ObservedOnline means the machine was seen online during the last run. ObservedOnline = NodeStatus(1) // ObservedOffline means the machine is still seen as offline after a // reboot command. ObservedOffline = NodeStatus(2) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct { Node LastReboot time.Time Status NodeStatus }
History holds the last reboot of a Node and the status.
Status is always NotObserved initially, and should be updated to ObservedOnline or ObservedOffline as soon as the information is available.
Click to show internal directories.
Click to hide internal directories.