metadata

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MPL-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package metadata provides meta information about supported Talos platforms, boards, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arch

type Arch = artifacts.Arch

Arch represents an architecture supported by Talos.

type Platform

type Platform struct {
	Name string

	Label       string
	Description string

	MinVersion          semver.Version
	Architectures       []Arch
	Documentation       string
	DiskImageSuffix     string
	BootMethods         []string
	SecureBootSupported bool
}

Platform represents a platform supported by Talos.

func Platforms

func Platforms() []Platform

Platforms returns a list of supported platforms.

func (Platform) NotOnlyDiskImage

func (p Platform) NotOnlyDiskImage() bool

NotOnlyDiskImage is true if the platform supports boot methods other than disk-image.

type SBC

type SBC struct {
	Name string

	// For Talos < 1.7.
	BoardName string

	// For Talos 1.7+
	OverlayName  string
	OverlayImage string

	Label         string
	Documentation string

	MinVersion semver.Version
}

SBC describes a Single Board Computer configuration.

func SBCs

func SBCs() []SBC

SBCs returns a list of supported Single Board Computers.

Jump to

Keyboard shortcuts

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