ignition

package
v0.0.0-...-d945efd Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstallIgnitionPath = "ignition/install/config.ign"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapIgnition

type BootstrapIgnition struct {
	Config igntypes.Config
}

BootstrapIgnition generates the bootstrap ignition file for the recovery ISO

func (*BootstrapIgnition) Dependencies

func (i *BootstrapIgnition) Dependencies() []asset.Asset

Dependencies returns dependencies used by the asset.

func (*BootstrapIgnition) Generate

func (i *BootstrapIgnition) Generate(_ context.Context, dependencies asset.Parents) error

Generate the base ISO.

func (*BootstrapIgnition) Name

func (i *BootstrapIgnition) Name() string

Name returns the human-friendly name of the asset.

type DeployIgnition

type DeployIgnition struct {
	Config igntypes.Config
}

func (*DeployIgnition) Dependencies

func (i *DeployIgnition) Dependencies() []asset.Asset

Dependencies returns dependencies used by the asset.

func (*DeployIgnition) Generate

func (i *DeployIgnition) Generate(_ context.Context, dependencies asset.Parents) error

Generate the base ISO.

func (*DeployIgnition) Name

func (i *DeployIgnition) Name() string

Name returns the human-friendly name of the asset.

type InstallIgnition

type InstallIgnition struct {
	Config igntypes.Config
}

InstallIgnition generates the ignition file for cluster installation phase

func (*InstallIgnition) Dependencies

func (i *InstallIgnition) Dependencies() []asset.Asset

Dependencies returns dependencies used by the asset.

func (*InstallIgnition) Generate

func (i *InstallIgnition) Generate(_ context.Context, dependencies asset.Parents) error

Generate the base ISO.

func (*InstallIgnition) Name

func (i *InstallIgnition) Name() string

Name returns the human-friendly name of the asset.

func (*InstallIgnition) PersistToFile

func (i *InstallIgnition) PersistToFile(directory string) error

type RecoveryIgnition

type RecoveryIgnition struct {
	Config igntypes.Config
}

RecoveryIgnition generates the custom ignition file for the recovery ISO

func (*RecoveryIgnition) Dependencies

func (i *RecoveryIgnition) Dependencies() []asset.Asset

Dependencies returns dependencies used by the asset.

func (*RecoveryIgnition) Generate

func (i *RecoveryIgnition) Generate(_ context.Context, dependencies asset.Parents) error

Generate the ignition embedded in the recovery ISO.

func (*RecoveryIgnition) Name

func (i *RecoveryIgnition) Name() string

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

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