Documentation
¶
Index ¶
- Variables
- func DistroFactory(idStr string) distro.Distro
- func GetDistroAndRunner(osRelease osinfo.OSRelease) (manifest.Distro, runner.Runner, error)
- func LabelForISO(os *osinfo.OSRelease, arch string) string
- func LoraxTemplatePackage(si osinfo.OSRelease) string
- func LoraxTemplates(si osinfo.OSRelease) []manifest.InstallerLoraxTemplate
- func NeedsRHELLoraxTemplates(si osinfo.OSRelease) bool
- func PlatformFor(archStr, uefiVendor string) *platform.Data
- type BootcArch
- type BootcDistro
- func (d *BootcDistro) Codename() string
- func (d *BootcDistro) DefaultFs() string
- func (d *BootcDistro) GetArch(arch string) (distro.Arch, error)
- func (d *BootcDistro) ListArches() []string
- func (d *BootcDistro) ModulePlatformID() string
- func (d *BootcDistro) Name() string
- func (d *BootcDistro) OSTreeRef() string
- func (d *BootcDistro) OsVersion() string
- func (d *BootcDistro) Product() string
- func (d *BootcDistro) Releasever() string
- func (d *BootcDistro) SetBuildContainer(imgref string) (err error)
- func (d *BootcDistro) SetBuildContainerForTesting(imgref string, info *osinfo.Info) error
- func (d *BootcDistro) SetDefaultFs(defaultFs string) error
- type BootcImageType
- func (t *BootcImageType) Aliases() []string
- func (t *BootcImageType) Arch() distro.Arch
- func (t *BootcImageType) BasePartitionTable() (*disk.PartitionTable, error)
- func (t *BootcImageType) BootMode() platform.BootMode
- func (t *BootcImageType) Exports() []string
- func (t *BootcImageType) Filename() string
- func (t *BootcImageType) ISOLabel() (string, error)
- func (t *BootcImageType) MIMEType() string
- func (t *BootcImageType) Manifest(bp *blueprint.Blueprint, options distro.ImageOptions, repos []rpmmd.RepoConfig, ...) (*manifest.Manifest, []string, error)
- func (t *BootcImageType) Name() string
- func (t *BootcImageType) OSTreeRef() string
- func (t *BootcImageType) PartitionType() disk.PartitionTableType
- func (t *BootcImageType) PayloadPackageSets() []string
- func (t *BootcImageType) RequiredBlueprintOptions() []string
- func (t *BootcImageType) Size(size uint64) uint64
- func (t *BootcImageType) SupportedBlueprintOptions() []string
Constants ¶
This section is empty.
Variables ¶
View Source
var NewBootcDistroForTesting = newBootcDistroAfterIntrospect
NewBootcDistroForTesting can be used to generate test manifests. The container introspection is skipped. Do not use this for anything but tests.
Functions ¶
func DistroFactory ¶
func GetDistroAndRunner ¶ added in v0.210.0
func LoraxTemplatePackage ¶ added in v0.210.0
func LoraxTemplates ¶ added in v0.210.0
func LoraxTemplates(si osinfo.OSRelease) []manifest.InstallerLoraxTemplate
func NeedsRHELLoraxTemplates ¶ added in v0.210.0
func PlatformFor ¶ added in v0.210.0
Types ¶
type BootcArch ¶
type BootcArch struct {
// contains filtered or unexported fields
}
func (*BootcArch) GetImageType ¶
func (*BootcArch) ListImageTypes ¶
type BootcDistro ¶
type BootcDistro struct {
// contains filtered or unexported fields
}
func NewBootcDistro ¶
func NewBootcDistro(imgref string) (*BootcDistro, error)
newBootcDistro returns a new instance of BootcDistro from the given url
func (*BootcDistro) Codename ¶
func (d *BootcDistro) Codename() string
func (*BootcDistro) DefaultFs ¶ added in v0.184.0
func (d *BootcDistro) DefaultFs() string
func (*BootcDistro) ListArches ¶
func (d *BootcDistro) ListArches() []string
func (*BootcDistro) ModulePlatformID ¶
func (d *BootcDistro) ModulePlatformID() string
func (*BootcDistro) Name ¶
func (d *BootcDistro) Name() string
func (*BootcDistro) OSTreeRef ¶
func (d *BootcDistro) OSTreeRef() string
func (*BootcDistro) OsVersion ¶
func (d *BootcDistro) OsVersion() string
func (*BootcDistro) Product ¶
func (d *BootcDistro) Product() string
func (*BootcDistro) Releasever ¶
func (d *BootcDistro) Releasever() string
func (*BootcDistro) SetBuildContainer ¶
func (d *BootcDistro) SetBuildContainer(imgref string) (err error)
func (*BootcDistro) SetBuildContainerForTesting ¶ added in v0.190.0
func (d *BootcDistro) SetBuildContainerForTesting(imgref string, info *osinfo.Info) error
SetBuildContainerForTesting should only be used for in tests please use "SetBuildContainer" instead
func (*BootcDistro) SetDefaultFs ¶
func (d *BootcDistro) SetDefaultFs(defaultFs string) error
type BootcImageType ¶
type BootcImageType struct {
defs.ImageTypeYAML
// contains filtered or unexported fields
}
func (*BootcImageType) Aliases ¶
func (t *BootcImageType) Aliases() []string
func (*BootcImageType) Arch ¶
func (t *BootcImageType) Arch() distro.Arch
func (*BootcImageType) BasePartitionTable ¶
func (t *BootcImageType) BasePartitionTable() (*disk.PartitionTable, error)
func (*BootcImageType) BootMode ¶
func (t *BootcImageType) BootMode() platform.BootMode
func (*BootcImageType) Exports ¶
func (t *BootcImageType) Exports() []string
func (*BootcImageType) Filename ¶
func (t *BootcImageType) Filename() string
func (*BootcImageType) ISOLabel ¶
func (t *BootcImageType) ISOLabel() (string, error)
func (*BootcImageType) MIMEType ¶
func (t *BootcImageType) MIMEType() string
func (*BootcImageType) Manifest ¶
func (t *BootcImageType) Manifest(bp *blueprint.Blueprint, options distro.ImageOptions, repos []rpmmd.RepoConfig, seedp *int64) (*manifest.Manifest, []string, error)
func (*BootcImageType) Name ¶
func (t *BootcImageType) Name() string
func (*BootcImageType) OSTreeRef ¶
func (t *BootcImageType) OSTreeRef() string
func (*BootcImageType) PartitionType ¶
func (t *BootcImageType) PartitionType() disk.PartitionTableType
func (*BootcImageType) PayloadPackageSets ¶
func (t *BootcImageType) PayloadPackageSets() []string
func (*BootcImageType) RequiredBlueprintOptions ¶
func (t *BootcImageType) RequiredBlueprintOptions() []string
func (*BootcImageType) Size ¶
func (t *BootcImageType) Size(size uint64) uint64
func (*BootcImageType) SupportedBlueprintOptions ¶
func (t *BootcImageType) SupportedBlueprintOptions() []string
Click to show internal directories.
Click to hide internal directories.