bootloader

package
v0.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootloader

type Bootloader interface {
	Labels() (string, string, error)
	Install(string, interface{}, runtime.Sequence) error
	Default(string) error
}

Bootloader describes a bootloader.

type Meta added in v0.7.0

type Meta struct {
	*os.File
	LegacyADV adv.ADV
	ADV       adv.ADV
}

Meta represents the meta reader.

func NewMeta added in v0.7.0

func NewMeta() (meta *Meta, err error)

NewMeta initializes and returns a `Meta`.

func (*Meta) Revert added in v0.7.0

func (m *Meta) Revert() (err error)

Revert reverts the default bootloader label to the previous installation.

func (*Meta) Write added in v0.7.0

func (m *Meta) Write() error

Directories

Path Synopsis
adv
Package adv provides common interfaces to access ADV data.
Package adv provides common interfaces to access ADV data.
syslinux
Package syslinux provides syslinux-compatible ADV data.
Package syslinux provides syslinux-compatible ADV data.
talos
Package talos implements modern ADV which supports large size for the values and tags.
Package talos implements modern ADV which supports large size for the values and tags.

Jump to

Keyboard shortcuts

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