Documentation ¶
Index ¶
- func NewBuildConfig(opts ...GenericOptions) *v1.BuildConfig
- func NewConfig(opts ...GenericOptions) *v1.Config
- func NewDisk(cfg *v1.BuildConfig) *v1.DiskSpec
- func NewDiskElementalParitions(workdir string) v1.ElementalPartitions
- func NewISO() *v1.LiveISO
- func NewInitSpec() *v1.InitSpec
- func NewInstallElementalPartitions() v1.ElementalPartitions
- func NewInstallSpec(cfg v1.Config) *v1.InstallSpec
- func NewResetSpec(cfg v1.Config) (*v1.ResetSpec, error)
- func NewRunConfig(opts ...GenericOptions) *v1.RunConfig
- func NewUpgradeSpec(cfg v1.Config) (*v1.UpgradeSpec, error)
- func WithClient(client v1.HTTPClient) func(r *v1.Config) error
- func WithCloudInitRunner(ci v1.CloudInitRunner) func(r *v1.Config) error
- func WithFs(fs v1.FS) func(r *v1.Config) error
- func WithImageExtractor(extractor v1.ImageExtractor) func(r *v1.Config) error
- func WithLogger(logger v1.Logger) func(r *v1.Config) error
- func WithMounter(mounter mount.Interface) func(r *v1.Config) error
- func WithOCIImageExtractor() func(r *v1.Config) error
- func WithPlatform(platform string) func(r *v1.Config) error
- func WithRunner(runner v1.Runner) func(r *v1.Config) error
- func WithSyscall(syscall v1.SyscallInterface) func(r *v1.Config) error
- type GenericOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildConfig ¶
func NewBuildConfig(opts ...GenericOptions) *v1.BuildConfig
func NewConfig ¶
func NewConfig(opts ...GenericOptions) *v1.Config
func NewDiskElementalParitions ¶ added in v1.1.0
func NewDiskElementalParitions(workdir string) v1.ElementalPartitions
func NewInitSpec ¶
NewInitSpec returns an InitSpec struct all based on defaults
func NewInstallElementalPartitions ¶ added in v1.1.0
func NewInstallElementalPartitions() v1.ElementalPartitions
func NewInstallSpec ¶
func NewInstallSpec(cfg v1.Config) *v1.InstallSpec
NewInstallSpec returns an InstallSpec struct all based on defaults and basic host checks (e.g. EFI vs BIOS)
func NewResetSpec ¶
NewResetSpec returns a ResetSpec struct all based on defaults and current host state
func NewRunConfig ¶
func NewRunConfig(opts ...GenericOptions) *v1.RunConfig
func NewUpgradeSpec ¶
func NewUpgradeSpec(cfg v1.Config) (*v1.UpgradeSpec, error)
NewUpgradeSpec returns an UpgradeSpec struct all based on defaults and current host state
func WithClient ¶
func WithClient(client v1.HTTPClient) func(r *v1.Config) error
func WithCloudInitRunner ¶
func WithCloudInitRunner(ci v1.CloudInitRunner) func(r *v1.Config) error
func WithImageExtractor ¶
func WithImageExtractor(extractor v1.ImageExtractor) func(r *v1.Config) error
func WithMounter ¶
func WithOCIImageExtractor ¶
func WithSyscall ¶
func WithSyscall(syscall v1.SyscallInterface) func(r *v1.Config) error
Types ¶
type GenericOptions ¶
Click to show internal directories.
Click to hide internal directories.