servstatetest

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 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) RebootAsExpected added in v1.16.0

func (h FakeRestartHandler) RebootAsExpected(*state.State) error

func (FakeRestartHandler) RebootDidNotHappen added in v1.16.0

func (h FakeRestartHandler) RebootDidNotHappen(*state.State) error

Jump to

Keyboard shortcuts

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