servstatetest

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL