install

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskSize

type DiskSize string

func (DiskSize) IsValid

func (d DiskSize) IsValid() bool

func (DiskSize) ToMiB

func (d DiskSize) ToMiB() (uint64, error)

returns the size in MiB

type ISO

type ISO struct {
	Device string `yaml:"device"`
}

type Installation

type Installation struct {
	SchemaVersion string        `yaml:"schema"`
	Bootloader    string        `yaml:"bootloader" validate:"omitempty,oneof=grub none"`
	KernelCmdLine string        `yaml:"kernelCmdLine"`
	RAW           RAW           `yaml:"raw"`
	ISO           ISO           `yaml:"iso"`
	CryptoPolicy  crypto.Policy `yaml:"cryptoPolicy" validate:"omitempty,oneof=fips default"`
}

type RAW

type RAW struct {
	DiskSize DiskSize `yaml:"diskSize" validate:"omitempty,disksize"`
}

Jump to

Keyboard shortcuts

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