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 Distro
- func (d *Distro) Codename() string
- func (d *Distro) DefaultFs() string
- func (d *Distro) Depsolver(rpmCacheRoot string, archi arch.Arch) (solver *depsolvednf.Solver, cleanup func() error, err error)
- func (d *Distro) GetArch(arch string) (distro.Arch, error)
- func (d *Distro) ListArches() []string
- func (d *Distro) ModulePlatformID() string
- func (d *Distro) Name() string
- func (d *Distro) OSTreeRef() string
- func (d *Distro) OsVersion() string
- func (d *Distro) Product() string
- func (d *Distro) Releasever() string
- func (d *Distro) SetBuildContainer(imgref string) (err error)
- func (d *Distro) 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 Distro ¶ added in v0.237.0
type Distro struct {
// contains filtered or unexported fields
}
func NewBootcDistro ¶
func NewBootcDistro(imgref string, opts *DistroOptions) (*Distro, error)
NewBootcDistro returns a new instance of BootcDistro from the given URL.
func (*Distro) ListArches ¶ added in v0.237.0
func (*Distro) ModulePlatformID ¶ added in v0.237.0
func (*Distro) Releasever ¶ added in v0.237.0
func (*Distro) SetBuildContainer ¶ added in v0.237.0
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.