reboot

package
v0.0.0-...-1f6a80c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PowercycleCmdKey         = "provisioning.dpu.nvidia.com/powercycle-command"
	RebootCmdKey             = "provisioning.dpu.nvidia.com/reboot-command"
	HostPowerCycleRequireKey = "provisioning.dpu.nvidia.com/host-power-cycle-required"
	Cycle                    = "cycle"
	Reset                    = "reset"
	// Skip ensures no power cycle is done on the host.
	// Note: This may cause issues with the BFB firmware installation and configuration.
	Skip = "skip"
)

Variables

This section is empty.

Functions

func ValidateHostPowerCycleRequire

func ValidateHostPowerCycleRequire(m map[string]string) error

Types

type RebootType

type RebootType string
const (
	PowerCycle RebootType = "power-cycle"
	WarmReboot RebootType = "warm-reboot"
)

func GenerateCmd

func GenerateCmd(nodeAnnotations map[string]string, dpuAnnotations map[string]string) (generateCmd string, rebootType RebootType, err error)

Jump to

Keyboard shortcuts

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