adv

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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

	// Reserved1 is a reserved tag.
	Reserved1
	// Reserved2 is a reserved tag.
	Reserved2
	// Reserved3 is a reserved tag.
	Reserved3
)

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)
	ListTags() (tags []uint8)
	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