quirks

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package quirks contains the quirks for Talos image generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quirks

type Quirks struct {
	// contains filtered or unexported fields
}

Quirks contains the quirks for Talos image generation.

func New

func New(talosVersion string) Quirks

New returns a new Quirks instance based on Talos version for the image.

func (Quirks) SkipDataPartitions added in v1.8.0

func (q Quirks) SkipDataPartitions() bool

SkipDataPartitions returns true if the Talos version supports creating EPHEMERAL/STATE partitions on its own.

func (Quirks) SupportsCompressedEncodedMETA

func (q Quirks) SupportsCompressedEncodedMETA() bool

SupportsCompressedEncodedMETA returns true if the Talos version supports compressed and encoded META as an environment variable.

func (Quirks) SupportsHaltIfInstalled added in v1.8.0

func (q Quirks) SupportsHaltIfInstalled() bool

SupportsHaltIfInstalled returns true if the Talos version supports half if installed.

func (Quirks) SupportsISOLabel added in v1.8.0

func (q Quirks) SupportsISOLabel() bool

SupportsISOLabel returns true if the Talos version supports setting the ISO label.

func (Quirks) SupportsMetalPlatformConsoleTTYS0 added in v1.8.0

func (q Quirks) SupportsMetalPlatformConsoleTTYS0() bool

SupportsMetalPlatformConsoleTTYS0 returns true if the Talos version supports already has console=ttyS0 kernel argument.

func (Quirks) SupportsMultidoc added in v1.8.0

func (q Quirks) SupportsMultidoc() bool

SupportsMultidoc returns true if the Talos version supports multidoc machine configs.

func (Quirks) SupportsOverlay

func (q Quirks) SupportsOverlay() bool

SupportsOverlay returns true if the Talos imager version supports overlay.

func (Quirks) SupportsResetGRUBOption

func (q Quirks) SupportsResetGRUBOption() bool

SupportsResetGRUBOption returns true if the Talos version supports the reset option in GRUB menu (image and ISO).

func (Quirks) UseZSTDCompression added in v1.8.0

func (q Quirks) UseZSTDCompression() bool

UseZSTDCompression returns true if the Talos should use zstd compression in place of xz.

Jump to

Keyboard shortcuts

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