recovery

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseISO

type BaseISO struct {
	File *asset.File
}

BaseISO generates the base ISO file for the image (CoreOS LiveCD)

func (*BaseISO) Dependencies

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

Dependencies returns dependencies used by the asset.

func (*BaseISO) Generate

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

Generate the base ISO.

func (*BaseISO) Name

func (i *BaseISO) Name() string

Name returns the human-friendly name of the asset.

type RecoveryISO

type RecoveryISO struct {
	File *asset.File
	Size int64
}

RecoveryISO is an asset that generates the bootable ISO copied to a recovery partition in the OpenShift-based appliance.

func (*RecoveryISO) Dependencies

func (a *RecoveryISO) Dependencies() []asset.Asset

Dependencies returns the assets on which the Bootstrap asset depends.

func (*RecoveryISO) Generate

func (a *RecoveryISO) Generate(_ context.Context, dependencies asset.Parents) error

Generate the recovery ISO.

func (*RecoveryISO) Name

func (a *RecoveryISO) 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