Documentation ¶
Overview ¶
Package overlay provides an interface for overlay installers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallOptions ¶
type InstallOptions[T any] struct { InstallDisk string `yaml:"installDisk"` MountPrefix string `yaml:"mountPrefix"` ArtifactsPath string `yaml:"artifactsPath"` ExtraOptions T `yaml:"extraOptions,omitempty"` }
InstallOptions for the overlay installer.
type Installer ¶
type Installer[T any] interface { GetOptions(extra T) (Options, error) Install(options InstallOptions[T]) error }
Installer is an interface for overlay installers.
type Options ¶
type Options struct { Name string `yaml:"name"` KernelArgs []string `yaml:"kernelArgs,omitempty"` PartitionOptions PartitionOptions `yaml:"partitionOptions,omitempty"` }
Options for the overlay installer.
type PartitionOptions ¶
type PartitionOptions struct {
Offset uint64 `yaml:"offset,omitempty"`
}
PartitionOptions for the overlay installer.
Click to show internal directories.
Click to hide internal directories.