Documentation
¶
Index ¶
- func LoadByte(b []byte) (*schema.Config, *schema.ReleaseArtifact, error)
- func LoadFile(file string) (*schema.Config, *schema.ReleaseArtifact, error)
- func RegisterAll(d *Deployer) error
- type Deployer
- func (d *Deployer) CleanTmpDirs() error
- func (d *Deployer) CollectErrors() error
- func (d *Deployer) PrepDirs() error
- func (d *Deployer) StepConvertGCE() error
- func (d *Deployer) StepConvertVHD() error
- func (d *Deployer) StepCopyCloudConfig() error
- func (d *Deployer) StepDownloadISO() error
- func (d *Deployer) StepDumpSource() error
- func (d *Deployer) StepExtractNetboot() error
- func (d *Deployer) StepGenISO() error
- func (d *Deployer) StepGenMBRRawDisk() error
- func (d *Deployer) StepGenRawDisk() error
- func (d *Deployer) StepInjectCC() error
- func (d *Deployer) StepStartHTTPServer() error
- func (d *Deployer) StepStartNetboot() error
- func (d *Deployer) WriteDag()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFile ¶
LoadFile loads a configuration file and returns the AuroraBoot configuration and release artifact information
func RegisterAll ¶ added in v0.3.0
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
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
CleanTmpDirs removes the temp rootfs and netboot directories when finished to not leave things around
func (*Deployer) CollectErrors ¶ added in v0.3.0
func (*Deployer) PrepDirs ¶ added in v0.8.7
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 (*Deployer) StepConvertVHD ¶ added in v0.3.0
func (*Deployer) StepCopyCloudConfig ¶ added in v0.3.0
func (*Deployer) StepDownloadISO ¶ added in v0.3.0
func (*Deployer) StepDumpSource ¶ added in v0.3.2
func (*Deployer) StepExtractNetboot ¶ added in v0.3.0
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 (*Deployer) StepGenMBRRawDisk ¶ added in v0.3.0
func (*Deployer) StepGenRawDisk ¶ added in v0.3.0
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