deployer

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadByte

func LoadByte(b []byte) (*schema.Config, *schema.ReleaseArtifact, error)

func LoadFile

func LoadFile(file string) (*schema.Config, *schema.ReleaseArtifact, error)

LoadFile loads a configuration file and returns the AuroraBoot configuration and release artifact information

func RegisterAll added in v0.3.0

func RegisterAll(d *Deployer) error

RegisterAll registers the op dag based on the configuration and the artifact wanted. This registers all steps for the top level Auroraboot command.

Types

type Deployer added in v0.3.0

type Deployer struct {
	*herd.Graph
	Config   schema.Config
	Artifact schema.ReleaseArtifact
}

func NewDeployer added in v0.3.0

func NewDeployer(c schema.Config, a schema.ReleaseArtifact, opts ...herd.GraphOption) *Deployer

func (*Deployer) CleanTmpDirs added in v0.4.4

func (d *Deployer) CleanTmpDirs() error

CleanTmpDirs removes the temp rootfs and netboot directories when finished to not leave things around

func (*Deployer) CollectErrors added in v0.3.0

func (d *Deployer) CollectErrors() error

func (*Deployer) PrepDirs added in v0.8.7

func (d *Deployer) PrepDirs() error

PrepDirs prepares the destination directory for the rest of the steps. This is the first step always executed in the deployer, it creates the destination directory in which other build steps will operate.

func (*Deployer) StepConvertGCE added in v0.3.0

func (d *Deployer) StepConvertGCE() error

func (*Deployer) StepConvertVHD added in v0.3.0

func (d *Deployer) StepConvertVHD() error

func (*Deployer) StepCopyCloudConfig added in v0.3.0

func (d *Deployer) StepCopyCloudConfig() error

func (*Deployer) StepDownloadISO added in v0.3.0

func (d *Deployer) StepDownloadISO() error

func (*Deployer) StepDumpSource added in v0.3.2

func (d *Deployer) StepDumpSource() error

func (*Deployer) StepExtractNetboot added in v0.3.0

func (d *Deployer) StepExtractNetboot() error

StepExtractNetboot Extract netboot artifacts from the ISO file Should trigger if netboot is enabled and the ISO is generated or downloaded. Add conditional dependencies to ensure the ISO is available before extracting netboot files. 2 different conditions, one for the ISO download and one for the ISO generation. The check its the same as the one in StepGenISO/StepDownloadISO

func (*Deployer) StepGenISO added in v0.3.0

func (d *Deployer) StepGenISO() error

func (*Deployer) StepGenMBRRawDisk added in v0.3.0

func (d *Deployer) StepGenMBRRawDisk() error

func (*Deployer) StepGenRawDisk added in v0.3.0

func (d *Deployer) StepGenRawDisk() error

StepGenRawDisk Generate the raw disk image. Enabled if is explicitly set the disk.efi or disk.vhd or disk.gce as they depend on the efi disk

func (*Deployer) StepInjectCC added in v0.3.0

func (d *Deployer) StepInjectCC() error

func (*Deployer) StepStartHTTPServer added in v0.3.0

func (d *Deployer) StepStartHTTPServer() error

func (*Deployer) StepStartNetboot added in v0.3.0

func (d *Deployer) StepStartNetboot() error

func (*Deployer) WriteDag added in v0.3.0

func (d *Deployer) WriteDag()

Jump to

Keyboard shortcuts

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