Documentation ¶
Index ¶
- Constants
- func NewRegistry() *distroregistry.Registry
- type TestArch
- type TestDistro
- type TestImageType
- func (t *TestImageType) Arch() distro.Arch
- func (t *TestImageType) BootMode() distro.BootMode
- func (t *TestImageType) BuildPipelines() []string
- func (t *TestImageType) Exports() []string
- func (t *TestImageType) Filename() string
- 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) PackageSetsChains() map[string][]string
- func (t *TestImageType) PartitionType() string
- func (t *TestImageType) PayloadPackageSets() []string
- func (t *TestImageType) PayloadPipelines() []string
- func (t *TestImageType) Size(size uint64) uint64
Constants ¶
View Source
const ( TestDistroName = "test-distro" TestDistro2Name = "test-distro-2" TestDistroReleasever = "1" TestDistro2Releasever = "2" TestDistroModulePlatformID = "platform:test" TestDistro2ModulePlatformID = "platform:test-2" 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 NewRegistry ¶
func NewRegistry() *distroregistry.Registry
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 NewTestDistro ¶ added in v0.6.0
func NewTestDistro(name, modulePlatformID, releasever string) *TestDistro
NewTestDistro returns a new instance of TestDistro with the given name and modulePlatformID.
It contains two architectures "test_arch" and "test_arch2". "test_arch" contains one image type "test_type". "test_arch2" contains two image types "test_type" and "test_type2".
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) 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() distro.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) 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) PackageSetsChains ¶
func (t *TestImageType) PackageSetsChains() map[string][]string
func (*TestImageType) PartitionType ¶
func (t *TestImageType) PartitionType() string
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.