Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRestartHandler ¶
type FakeRestartHandler func(restart.RestartType)
FakeRestartHandler fakes a restart.Handler based on a function to witness the restart requests.
func (FakeRestartHandler) HandleRestart ¶
func (h FakeRestartHandler) HandleRestart(t restart.RestartType)
func (FakeRestartHandler) RebootIsFine ¶
func (h FakeRestartHandler) RebootIsFine(*state.State) error
func (FakeRestartHandler) RebootIsMissing ¶
func (h FakeRestartHandler) RebootIsMissing(*state.State) error
Click to show internal directories.
Click to hide internal directories.