Versions in this module Expand all Collapse all v3 v3.1.0-alpha.20260528 May 28, 2026 v3.0.0 Jun 1, 2026 Changes in this version + const AllAvailableSize + const ConfigLabel + const ConfigMnt + const EfiLabel + const EfiMnt + const EfiSize + const RecoveryLabel + const RecoveryMark + const RecoverySize + const ResetMark + const SystemLabel + const SystemMnt + const Unknown + func LiveKernelCmdline(label string) string + func Merge(dst, src *Deployment) error + type BootConfig struct + Bootloader string + KernelCmdline string + type Deployment struct + BootConfig *BootConfig + CfgScript string + Disks []*Disk + Firmware *FirmwareConfig + Installer LiveInstaller + OverlayTree *ImageSource + Security *SecurityConfig + Snapshotter *SnapshotterConfig + SourceOS *ImageSource + func DefaultDeployment() *Deployment + func New(opts ...Opt) *Deployment + func Parse(s *sys.System, root string) (*Deployment, error) + func (d *Deployment) IsFipsEnabled() bool + func (d *Deployment) Sanitize(s *sys.System, excludeChecks ...SanitizeDeployment) error + func (d *Deployment) WriteDeploymentFile(s *sys.System, root string) error + func (d Deployment) BaseKernelCmdline() string + func (d Deployment) DeepCopy() (*Deployment, error) + func (d Deployment) GetEfiDisk() *Disk + func (d Deployment) GetEfiPartition() *Partition + func (d Deployment) GetRecoveryPartition() *Partition + func (d Deployment) GetSELinuxSupportedPartitions() Partitions + func (d Deployment) GetSystemDisk() *Disk + func (d Deployment) GetSystemLabel() string + func (d Deployment) GetSystemPartition() *Partition + func (d Deployment) RecoveryKernelCmdline() string + type Disk struct + Device string + Partitions Partitions + func (d Disk) GetSystemPartition() *Partition + type FileSystem int + const Btrfs + const Ext2 + const Ext4 + const VFat + const XFS + func ParseFileSystem(f string) (FileSystem, error) + func (f *FileSystem) UnmarshalYAML(data *yaml.Node) (err error) + func (f FileSystem) MarshalYAML() (any, error) + func (f FileSystem) String() string + type FirmwareConfig struct + BootEntries []*firmware.EfiBootEntry + type ImageSource struct + func NewDirSrc(src string) *ImageSource + func NewEmptySrc() *ImageSource + func NewOCISrc(src string) *ImageSource + func NewRawSrc(src string) *ImageSource + func NewSrcFromURI(uri string) (*ImageSource, error) + func NewTarSrc(src string) *ImageSource + func (i *ImageSource) SetDigest(digest string) + func (i *ImageSource) UnmarshalYAML(data *yaml.Node) (err error) + func (i ImageSource) GetDigest() string + func (i ImageSource) IsDir() bool + func (i ImageSource) IsEmpty() bool + func (i ImageSource) IsOCI() bool + func (i ImageSource) IsRaw() bool + func (i ImageSource) IsTar() bool + func (i ImageSource) MarshalYAML() (any, error) + func (i ImageSource) String() string + func (i ImageSource) URI() string + type ImageSrcType int + const Dir + const OCI + const Raw + const Tar + func ParseSrcImageType(i string) (ImageSrcType, error) + func (i ImageSrcType) String() string + type LiveInstaller struct + CfgScript string + KernelCmdline string + OverlayTree *ImageSource + type MiB uint64 + type Opt func(d *Deployment) + func WithConfigPartition(size MiB) Opt + func WithPartitions(num int, parts ...*Partition) Opt + func WithRecoveryPartition(size MiB) Opt + type PartRole int + const Config + const EFI + const Generic + const Recovery + const System + func ParseRole(function string) (PartRole, error) + func (p *PartRole) UnmarshalYAML(data *yaml.Node) (err error) + func (p PartRole) MarshalYAML() (any, error) + func (p PartRole) String() string + type Partition struct + FileSystem FileSystem + Hidden bool + Label string + MountOpts []string + MountPoint string + RWVolumes RWVolumes + Role PartRole + Size MiB + UUID string + type Partitions []*Partition + func (p Partitions) GetSnapshottedVolumes() RWVolumes + type RWVolume struct + MountOpts []string + NoCopyOnWrite bool + Path string + Snapshotted bool + type RWVolumes []RWVolume + type SanitizeDeployment func(*sys.System, *Deployment) error + var CheckDiskDevice SanitizeDeployment = func(*sys.System, *Deployment) error { ... } + type SecurityConfig struct + CryptoPolicy crypto.Policy + type SnapshotterConfig struct + Name string v3.0.0-alpha.20251212 Dec 12, 2025 v3.0.0-alpha.20251205 Dec 5, 2025