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.
Click to show internal directories.
Click to hide internal directories.