Documentation ¶
Overview ¶
Package quirks contains the quirks for Talos image generation.
Index ¶
- type Quirks
- func (q Quirks) SkipDataPartitions() bool
- func (q Quirks) SupportsCompressedEncodedMETA() bool
- func (q Quirks) SupportsHaltIfInstalled() bool
- func (q Quirks) SupportsISOLabel() bool
- func (q Quirks) SupportsMetalPlatformConsoleTTYS0() bool
- func (q Quirks) SupportsMultidoc() bool
- func (q Quirks) SupportsOverlay() bool
- func (q Quirks) SupportsResetGRUBOption() bool
- func (q Quirks) UseZSTDCompression() bool
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 (Quirks) SkipDataPartitions ¶ added in v1.8.0
SkipDataPartitions returns true if the Talos version supports creating EPHEMERAL/STATE partitions on its own.
func (Quirks) SupportsCompressedEncodedMETA ¶
SupportsCompressedEncodedMETA returns true if the Talos version supports compressed and encoded META as an environment variable.
func (Quirks) SupportsHaltIfInstalled ¶ added in v1.8.0
SupportsHaltIfInstalled returns true if the Talos version supports half if installed.
func (Quirks) SupportsISOLabel ¶ added in v1.8.0
SupportsISOLabel returns true if the Talos version supports setting the ISO label.
func (Quirks) SupportsMetalPlatformConsoleTTYS0 ¶ added in v1.8.0
SupportsMetalPlatformConsoleTTYS0 returns true if the Talos version supports already has console=ttyS0 kernel argument.
func (Quirks) SupportsMultidoc ¶ added in v1.8.0
SupportsMultidoc returns true if the Talos version supports multidoc machine configs.
func (Quirks) SupportsOverlay ¶
SupportsOverlay returns true if the Talos imager version supports overlay.
func (Quirks) SupportsResetGRUBOption ¶
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
UseZSTDCompression returns true if the Talos should use zstd compression in place of xz.