bootc

package
v0.237.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 33 Imported by: 2

Documentation

Index

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 DistroFactory(idStr string) distro.Distro

func GetDistroAndRunner added in v0.210.0

func GetDistroAndRunner(osRelease osinfo.OSRelease) (manifest.Distro, runner.Runner, error)

func LabelForISO added in v0.210.0

func LabelForISO(os *osinfo.OSRelease, arch string) string

func LoraxTemplatePackage added in v0.210.0

func LoraxTemplatePackage(si osinfo.OSRelease) string

func LoraxTemplates added in v0.210.0

func LoraxTemplates(si osinfo.OSRelease) []manifest.InstallerLoraxTemplate

func NeedsRHELLoraxTemplates added in v0.210.0

func NeedsRHELLoraxTemplates(si osinfo.OSRelease) bool

func PlatformFor added in v0.210.0

func PlatformFor(archStr, uefiVendor string) *platform.Data

Types

type Arch added in v0.235.0

type Arch struct {
	// contains filtered or unexported fields
}

func (*Arch) Distro added in v0.235.0

func (a *Arch) Distro() distro.Distro

func (*Arch) GetImageType added in v0.235.0

func (a *Arch) GetImageType(imageType string) (distro.ImageType, error)

func (*Arch) ListImageTypes added in v0.235.0

func (a *Arch) ListImageTypes() []string

func (*Arch) Name added in v0.235.0

func (a *Arch) Name() string

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) Codename added in v0.237.0

func (d *Distro) Codename() string

func (*Distro) DefaultFs added in v0.237.0

func (d *Distro) DefaultFs() string

func (*Distro) Depsolver added in v0.237.0

func (d *Distro) Depsolver(rpmCacheRoot string, archi arch.Arch) (solver *depsolvednf.Solver, cleanup func() error, err error)

func (*Distro) GetArch added in v0.237.0

func (d *Distro) GetArch(arch string) (distro.Arch, error)

func (*Distro) ListArches added in v0.237.0

func (d *Distro) ListArches() []string

func (*Distro) ModulePlatformID added in v0.237.0

func (d *Distro) ModulePlatformID() string

func (*Distro) Name added in v0.237.0

func (d *Distro) Name() string

func (*Distro) OSTreeRef added in v0.237.0

func (d *Distro) OSTreeRef() string

func (*Distro) OsVersion added in v0.237.0

func (d *Distro) OsVersion() string

func (*Distro) Product added in v0.237.0

func (d *Distro) Product() string

func (*Distro) Releasever added in v0.237.0

func (d *Distro) Releasever() string

func (*Distro) SetBuildContainer added in v0.237.0

func (d *Distro) SetBuildContainer(imgref string) (err error)

func (*Distro) SetBuildContainerForTesting added in v0.237.0

func (d *Distro) 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
}

Directories

Path Synopsis
exe command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL