Documentation ¶
Index ¶
- Constants
- func DistroFactory(idStr string) distro.Distro
- type TestArch
- type TestDistro
- func (d *TestDistro) Codename() string
- func (d *TestDistro) GetArch(arch string) (distro.Arch, error)
- func (d *TestDistro) ListArches() []string
- func (d *TestDistro) ModulePlatformID() string
- func (d *TestDistro) Name() string
- func (d *TestDistro) OSTreeRef() string
- func (d *TestDistro) OsVersion() string
- func (d *TestDistro) Product() string
- func (d *TestDistro) Releasever() string
- type TestImageType
- func (t *TestImageType) Arch() distro.Arch
- func (t *TestImageType) BootMode() platform.BootMode
- func (t *TestImageType) BuildPipelines() []string
- func (t *TestImageType) Exports() []string
- func (t *TestImageType) Filename() string
- func (t *TestImageType) ISOLabel() (string, error)
- func (t *TestImageType) MIMEType() string
- func (t *TestImageType) Manifest(b *blueprint.Blueprint, options distro.ImageOptions, repos []rpmmd.RepoConfig, ...) (*manifest.Manifest, []string, error)
- func (t *TestImageType) Name() string
- func (t *TestImageType) OSTreeRef() string
- func (t *TestImageType) PartitionType() disk.PartitionTableType
- func (t *TestImageType) PayloadPackageSets() []string
- func (t *TestImageType) PayloadPipelines() []string
- func (t *TestImageType) Size(size uint64) uint64
Constants ¶
View Source
const ( // The Test Distro name base. It can't be used to get a distro.Distro // instance from the DistroFactory(), because it does not include any // release version. TestDistroNameBase = "test-distro" // An ID string for a Test Distro instance with release version 1. TestDistro1Name = TestDistroNameBase + "-1" TestArchName = "test_arch" TestArch2Name = "test_arch2" TestArch3Name = "test_arch3" TestImageTypeName = "test_type" TestImageType2Name = "test_type2" TestImageTypeOSTree = "test_ostree_type" // added for cloudapi tests TestImageTypeAmi = "ami" TestImageTypeGce = "gce" TestImageTypeVhd = "vhd" TestImageTypeEdgeCommit = "rhel-edge-commit" TestImageTypeEdgeInstaller = "rhel-edge-installer" TestImageTypeImageInstaller = "image-installer" TestImageTypeQcow2 = "qcow2" TestImageTypeVmdk = "vmdk" )
Variables ¶
This section is empty.
Functions ¶
func DistroFactory ¶ added in v0.33.0
Types ¶
type TestArch ¶
type TestArch struct {
// contains filtered or unexported fields
}
func (*TestArch) GetImageType ¶
func (*TestArch) ListImageTypes ¶
type TestDistro ¶
type TestDistro struct {
// contains filtered or unexported fields
}
func (*TestDistro) Codename ¶ added in v0.56.0
func (d *TestDistro) Codename() string
func (*TestDistro) ListArches ¶
func (d *TestDistro) ListArches() []string
func (*TestDistro) ModulePlatformID ¶
func (d *TestDistro) ModulePlatformID() string
func (*TestDistro) Name ¶
func (d *TestDistro) Name() string
func (*TestDistro) OSTreeRef ¶
func (d *TestDistro) OSTreeRef() string
func (*TestDistro) OsVersion ¶ added in v0.51.0
func (d *TestDistro) OsVersion() string
func (*TestDistro) Product ¶ added in v0.51.0
func (d *TestDistro) Product() string
func (*TestDistro) Releasever ¶
func (d *TestDistro) Releasever() string
type TestImageType ¶
type TestImageType struct {
// contains filtered or unexported fields
}
func (*TestImageType) Arch ¶
func (t *TestImageType) Arch() distro.Arch
func (*TestImageType) BootMode ¶
func (t *TestImageType) BootMode() platform.BootMode
func (*TestImageType) BuildPipelines ¶
func (t *TestImageType) BuildPipelines() []string
func (*TestImageType) Exports ¶
func (t *TestImageType) Exports() []string
func (*TestImageType) Filename ¶
func (t *TestImageType) Filename() string
func (*TestImageType) ISOLabel ¶ added in v0.51.0
func (t *TestImageType) ISOLabel() (string, error)
func (*TestImageType) MIMEType ¶
func (t *TestImageType) MIMEType() string
func (*TestImageType) Manifest ¶
func (t *TestImageType) Manifest(b *blueprint.Blueprint, options distro.ImageOptions, repos []rpmmd.RepoConfig, seed int64) (*manifest.Manifest, []string, error)
func (*TestImageType) Name ¶
func (t *TestImageType) Name() string
func (*TestImageType) OSTreeRef ¶
func (t *TestImageType) OSTreeRef() string
func (*TestImageType) PartitionType ¶
func (t *TestImageType) PartitionType() disk.PartitionTableType
func (*TestImageType) PayloadPackageSets ¶
func (t *TestImageType) PayloadPackageSets() []string
func (*TestImageType) PayloadPipelines ¶
func (t *TestImageType) PayloadPipelines() []string
func (*TestImageType) Size ¶
func (t *TestImageType) Size(size uint64) uint64
Click to show internal directories.
Click to hide internal directories.