Static
NAMEStatic
VERSIONClearReboot will clear the reboot flag on provided machines, if it exists.
GetRebootAction returns the action a machine agent should take. If a reboot flag is set on the machine, then that machine is expected to reboot (params.ShouldReboot). a reboot flag set on the machine parent or grandparent, will cause the machine to shutdown (params.ShouldShutdown). If no reboot flag is set, the machine should do nothing (params.ShouldDoNothing).
RequestReboot sets the reboot flag on the provided machines
WatchForRebootEvent starts a watcher to track if there is a new reboot request on the machines ID or any of its parents (in case we are a container).
Generated using TypeDoc
RebootAPI provides access to the Upgrader API facade.