boot

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package boot provides boot mode determination.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode struct {
	PendingWipeID           string
	BootMode                specs.BootMode
	Installed               bool
	RequiresPowerMgmtConfig bool
	NeedsToBePoweredOn      bool
}

Mode describes the required boot mode.

func DetermineRequiredMode

func DetermineRequiredMode(infraMachine *infra.Machine, status *baremetal.MachineStatus, machineState *infra.MachineState, logger *zap.Logger) (Mode, error)

DetermineRequiredMode determines the required boot mode.

Jump to

Keyboard shortcuts

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