Documentation ¶
Index ¶
- type BaseIso
- type CoreOSBuildFetcher
- type Ignition
- type Image
- func (i *Image) Dependencies() []asset.Asset
- func (i *Image) Files() []*asset.File
- func (i *Image) Generate(_ context.Context, dependencies asset.Parents) error
- func (i *Image) Load(f asset.FileFetcher) (bool, error)
- func (i *Image) Name() string
- func (i *Image) PersistToFile(directory string) error
- type ImageBasedInstallationConfig
- func (*ImageBasedInstallationConfig) Dependencies() []asset.Asset
- func (i *ImageBasedInstallationConfig) Files() []*asset.File
- func (i *ImageBasedInstallationConfig) Generate(_ context.Context, dependencies asset.Parents) error
- func (i *ImageBasedInstallationConfig) Load(f asset.FileFetcher) (bool, error)
- func (*ImageBasedInstallationConfig) Name() string
- func (i *ImageBasedInstallationConfig) PersistToFile(directory string) error
- type PostDeployment
- func (pd *PostDeployment) Dependencies() []asset.Asset
- func (pd *PostDeployment) Files() []*asset.File
- func (pd *PostDeployment) Generate(_ context.Context, dependencies asset.Parents) error
- func (pd *PostDeployment) Load(f asset.FileFetcher) (found bool, err error)
- func (pd *PostDeployment) Name() string
- type RegistriesConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIso ¶
BaseIso generates the base ISO file for the image.
func (*BaseIso) Dependencies ¶
Dependencies returns dependencies used by the asset.
type CoreOSBuildFetcher ¶
CoreOSBuildFetcher will be to used to switch the source of the coreos metadata.
type Ignition ¶
Ignition is an asset that generates the image-based installer ignition file.
func (*Ignition) Dependencies ¶
Dependencies returns the assets on which the Ignition asset depends.
type Image ¶
type Image struct { Config *imagebased.InstallationConfig IgnitionByte []byte ISOPath string // contains filtered or unexported fields }
Image is an asset that generates the bootable image used to install clusters.
func (*Image) Dependencies ¶
Dependencies returns the assets on which the image asset depends.
func (*Image) Load ¶
func (i *Image) Load(f asset.FileFetcher) (bool, error)
Load returns the ISO from disk.
func (*Image) PersistToFile ¶
PersistToFile writes the ISO image in the assets folder.
type ImageBasedInstallationConfig ¶
type ImageBasedInstallationConfig struct { File *asset.File Config *imagebased.InstallationConfig Template string }
ImageBasedInstallationConfig reads the image-based-installation-config.yaml file.
func (*ImageBasedInstallationConfig) Dependencies ¶
func (*ImageBasedInstallationConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageBasedInstallationConfig) Files ¶
func (i *ImageBasedInstallationConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageBasedInstallationConfig) Generate ¶
func (i *ImageBasedInstallationConfig) Generate(_ context.Context, dependencies asset.Parents) error
Generate generates the Image-based Installation Config YAML manifest.
func (*ImageBasedInstallationConfig) Load ¶
func (i *ImageBasedInstallationConfig) Load(f asset.FileFetcher) (bool, error)
Load returns image-based installation ISO config asset from the disk.
func (*ImageBasedInstallationConfig) Name ¶
func (*ImageBasedInstallationConfig) Name() string
Name returns a human friendly name for the asset.
func (*ImageBasedInstallationConfig) PersistToFile ¶
func (i *ImageBasedInstallationConfig) PersistToFile(directory string) error
PersistToFile writes the image-based-installation-config.yaml file to the assets folder.
type PostDeployment ¶
PostDeployment manages the post image-based installation steps.
func (*PostDeployment) Dependencies ¶
func (pd *PostDeployment) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed by the asset.
func (*PostDeployment) Files ¶
func (pd *PostDeployment) Files() []*asset.File
Files returns the files generated by the asset.
func (*PostDeployment) Load ¶
func (pd *PostDeployment) Load(f asset.FileFetcher) (found bool, err error)
Load reads the asset file from disk.
func (*PostDeployment) Name ¶
func (pd *PostDeployment) Name() string
Name returns a human friendly name for the asset.
type RegistriesConf ¶
type RegistriesConf struct { Data []byte Config *sysregistriesv2.V2RegistriesConf }
RegistriesConf generates the registries.conf data.
func (*RegistriesConf) Dependencies ¶
func (*RegistriesConf) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*RegistriesConf) Generate ¶
Generate generates the registries.conf data from the image-based-installation-config.
func (*RegistriesConf) Name ¶
func (*RegistriesConf) Name() string
Name returns a human friendly name for the asset.