Documentation ¶
Overview ¶
Package rebooter provides utilities used to reboot a machine.
Package rebooter provides utilities used to reboot a machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RebootInitiated ¶
func RebootInitiated() bool
RebootInitiated returns whether the Reboot request has initiated.
func RebootRequestCount ¶
func RebootRequestCount() uint
RebootRequestCount returns the reboot request count.
func RebootRequested ¶
func RebootRequested() bool
RebootRequested returns the reboot request count.
func RequestPendingReboot ¶
func RequestPendingReboot()
RequestPendingReboot requests a pending reboot. A reboot will be initiated by the agent at an appropriate time.
Types ¶
type MockedRebooter ¶
MockedRebooter stands for a mock Rebooter.
func (*MockedRebooter) RebootMachine ¶
func (rebooterMock *MockedRebooter) RebootMachine()
RebootMachine mocks the RebootMachine method.
Click to show internal directories.
Click to hide internal directories.