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 Arch
- type BootcDistro
- func (d *BootcDistro) Codename() string
- func (d *BootcDistro) DefaultFs() string
- func (d *BootcDistro) Depsolver(rpmCacheRoot string, archi arch.Arch) (solver *depsolvednf.Solver, cleanup func() error, err error)
- 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
- type DistroOptions
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 Arch ¶ added in v0.235.0
type Arch struct {
// contains filtered or unexported fields
}
func (*Arch) GetImageType ¶ added in v0.235.0
func (*Arch) ListImageTypes ¶ added in v0.235.0
type BootcDistro ¶
type BootcDistro struct {
// contains filtered or unexported fields
}
func NewBootcDistro ¶
func NewBootcDistro(imgref string, opts *DistroOptions) (*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) Depsolver ¶ added in v0.221.0
func (d *BootcDistro) Depsolver(rpmCacheRoot string, archi arch.Arch) (solver *depsolvednf.Solver, cleanup func() error, err error)
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
type DistroOptions ¶ added in v0.217.0
type DistroOptions struct {
// DefaultFs to use, this takes precedence over the default
// from the container and is required if the container does
// not declare a default.
DefaultFs string
}
Click to show internal directories.
Click to hide internal directories.