boot

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBiosOverrideCommand

func NewBiosOverrideCommand() *cobra.Command

NewBiosOverrideCommand creates the `bios` subcommand for `boot`.

func NewCommand

func NewCommand() *cobra.Command

NewCommand creates the `boot` subcommand for `chassis`.

func NewHddOverrideCommand

func NewHddOverrideCommand() *cobra.Command

NewHddOverrideCommand creates the `hdd` subcommand for `boot`.

func NewNoneOverrideCommand

func NewNoneOverrideCommand() *cobra.Command

NewNoneOverrideCommand creates the `none` subcommand for `boot`.

func NewPxeOverrideCommand

func NewPxeOverrideCommand() *cobra.Command

NewPxeOverrideCommand creates the `pxe` subcommand for `boot`.

func NewShowCommand

func NewShowCommand() *cobra.Command

NewShowCommand creates the `boot` subcommand for `show`.

func NewUEFIHttpOverrideCommand

func NewUEFIHttpOverrideCommand() *cobra.Command

NewUEFIHttpOverrideCommand creates the `http` subcommand for `boot`.

Types

type Boot

type Boot struct {
	Order []string `json:"order,omitempty" yaml:"order,omitempty"`
	Next  string   `json:"next,omitempty" yaml:"next,omitempty"`
	Error error    `json:"error,omitempty" yaml:"error,omitempty"`
}

Boot represents boot configuration on the BMC. Only Error is emitted on empty.

type Override

type Override struct {
	Target redfish.BootSourceOverrideTarget `json:"target" yaml:"target"`
	Error  error                            `json:"error,omitempty" yaml:"error,omitempty"`
}

Override represents the result of the boot override.

Jump to

Keyboard shortcuts

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