Documentation
¶
Index ¶
- Constants
- func DistroFactory(idStr string) distro.Distro
- type BootcArch
- type BootcDistro
- func (d *BootcDistro) Codename() 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) 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) BuildPipelines() []string
- 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) PayloadPipelines() []string
- func (t *BootcImageType) RequiredBlueprintOptions() []string
- func (t *BootcImageType) Size(size uint64) uint64
- func (t *BootcImageType) SupportedBlueprintOptions() []string
Constants ¶
View Source
const ( MebiByte = 1024 * 1024 // MiB GibiByte = 1024 * 1024 * 1024 // GiB // BootOptions defines the mountpoint options for /boot // See https://github.com/containers/bootc/pull/341 for the rationale for // using `ro` by default. Briefly it protects against corruption // by non-ostree aware tools. BootOptions = "ro" // And we default to `ro` for the rootfs too, because we assume the input // container image is using composefs. For more info, see // https://github.com/containers/bootc/pull/417 and // https://github.com/ostreedev/ostree/issues/3193 RootOptions = "ro" )
View Source
const (
DEFAULT_SIZE = uint64(10 * GibiByte)
)
Variables ¶
This section is empty.
Functions ¶
func DistroFactory ¶
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) (bd *BootcDistro, err error)
newBootcDistro returns a new instance of BootcDistro from the given url
func (*BootcDistro) Codename ¶
func (d *BootcDistro) Codename() 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) SetDefaultFs ¶
func (d *BootcDistro) SetDefaultFs(defaultFs string) error
type BootcImageType ¶
type BootcImageType struct {
// 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) BuildPipelines ¶
func (t *BootcImageType) BuildPipelines() []string
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) PayloadPipelines ¶
func (t *BootcImageType) PayloadPipelines() []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.