test_distro

package
v0.66.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

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

func DistroFactory(idStr string) distro.Distro

Types

type TestArch

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

func (*TestArch) Distro

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

func (*TestArch) GetImageType

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

func (*TestArch) ListImageTypes

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

func (*TestArch) Name

func (a *TestArch) Name() string

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) GetArch

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

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() 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) 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) 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

Jump to

Keyboard shortcuts

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