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 GetChannel ¶
func GetChannel() chan RebootType
func RequestPendingReboot ¶
Types ¶
type MockedRebooter ¶
MockedRebooter stands for a mock Rebooter.
func (*MockedRebooter) RebootMachine ¶
func (rebooterMock *MockedRebooter) RebootMachine()
RebootMachine mocks the RebootMachine method.
type RebootType ¶
type RebootType string
const ( RebootRequestTypeReboot RebootType = "reboot" RebootRequestTypeUpdate RebootType = "update" )
Click to show internal directories.
Click to hide internal directories.