Documentation ¶
Overview ¶
Package bootloader provides bootloader implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootloader ¶
type Bootloader interface { // Install installs the bootloader Install(options options.InstallOptions) error // Revert reverts the bootloader entry to the previous state. Revert(ctx context.Context) error // PreviousLabel returns the previous bootloader label. PreviousLabel() string // UEFIBoot returns true if the bootloader is UEFI-only. UEFIBoot() bool }
Bootloader describes a bootloader.
func New ¶ added in v1.5.0
func New(secureboot bool, talosVersion string) Bootloader
New returns a new bootloader based on the secureboot flag.
func NewAuto ¶ added in v1.5.0
func NewAuto() Bootloader
NewAuto returns a new bootloader based on auto-detection.
Directories ¶
Path | Synopsis |
---|---|
Package grub provides the interface to the GRUB bootloader: config management, installation, etc.
|
Package grub provides the interface to the GRUB bootloader: config management, installation, etc. |
Package mount provides bootloader mount operations.
|
Package mount provides bootloader mount operations. |
Package options provides bootloader options.
|
Package options provides bootloader options. |
Package sdboot provides the interface to the Systemd-Boot bootloader: config management, installation, etc.
|
Package sdboot provides the interface to the Systemd-Boot bootloader: config management, installation, etc. |
Click to show internal directories.
Click to hide internal directories.