Documentation ¶
Index ¶
Constants ¶
View Source
const RebootMessage = "preparing for reboot"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reboot ¶
type Reboot struct {
// contains filtered or unexported fields
}
The reboot worker listens for changes to the reboot flag and exists with worker.ErrRebootMachine if the machine should reboot or with worker.ErrShutdownMachine if it should shutdown. This will be picked up by the machine agent as a fatal error and will do the right thing (reboot or shutdown)
Click to show internal directories.
Click to hide internal directories.