installer

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	FileSystemTypeExt4 = 0
	FileSystemTypeVfat = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystemType

type FileSystemType uint

func (FileSystemType) MarshalText added in v0.4.0

func (fileSystemType FileSystemType) MarshalText() ([]byte, error)

func (*FileSystemType) Set added in v0.4.0

func (fileSystemType *FileSystemType) Set(value string) error

func (FileSystemType) String added in v0.4.0

func (fileSystemType FileSystemType) String() string

func (*FileSystemType) UnmarshalText added in v0.4.0

func (fileSystemType *FileSystemType) UnmarshalText(text []byte) error

type Partition

type Partition struct {
	BytesPerInode            types.Bytes      `json:",omitempty"`
	FileSystemLabel          string           `json:",omitempty"`
	FileSystemType           FileSystemType   `json:",omitempty"`
	MountPoint               string           `json:",omitempty"`
	MinimumBytes             uint64           `json:",omitempty"`
	MinimumFreeBytes         uint64           `json:",omitempty"`
	ReservedBlocksPercentage types.Percentage `json:",omitempty"`
	RootGroupId              types.GroupId    `json:",omitempty"`
	RootUserId               types.UserId     `json:",omitempty"`
}

func (*Partition) Equal added in v0.8.0

func (left *Partition) Equal(right *Partition) bool

type StorageLayout

type StorageLayout struct {
	BootDriveLayout          []Partition `json:",omitempty"`
	ExtraMountPointsBasename string      `json:",omitempty"`
	Encrypt                  bool        `json:",omitempty"`
	UseKexec                 bool        `json:",omitempty"`
}

func (*StorageLayout) Equal added in v0.8.0

func (left *StorageLayout) Equal(right *StorageLayout) bool

Jump to

Keyboard shortcuts

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