adv

package
v1.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package adv provides common interfaces to access ADV data.

Index

Constants

View Source
const (
	// End is the noop tag.
	End = iota
	// Bootonce is the bootonce tag.
	Bootonce
	// Menusave is the menusave tag.
	Menusave
	// Reserved1 is a reserved tag.
	Reserved1
	// Reserved2 is a reserved tag.
	Reserved2
	// Reserved3 is a reserved tag.
	Reserved3
	// Upgrade is the upgrade tag.
	Upgrade
	// StagedUpgradeImageRef stores image reference for staged upgrade.
	StagedUpgradeImageRef
	// StagedUpgradeInstallOptions stores JSON-serialized install.Options.
	StagedUpgradeInstallOptions
	// StateEncryptionConfig stores JSON-serialized v1alpha1.Encryption.
	StateEncryptionConfig
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ADV

type ADV interface {
	ReadTag(t uint8) (val string, ok bool)
	ReadTagBytes(t uint8) (val []byte, ok bool)
	SetTag(t uint8, val string) (ok bool)
	SetTagBytes(t uint8, val []byte) (ok bool)
	DeleteTag(t uint8) (ok bool)
	Bytes() ([]byte, error)
}

ADV describes implementation which stores tag-value data.

Directories

Path Synopsis
Package syslinux provides syslinux-compatible ADV data.
Package syslinux provides syslinux-compatible ADV data.
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