platform

package
v0.102.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aarch64

type Aarch64 struct {
	BasePlatform
	UEFIVendor string
}

func (*Aarch64) GetArch

func (p *Aarch64) GetArch() arch.Arch

func (*Aarch64) GetPackages

func (p *Aarch64) GetPackages() []string

func (*Aarch64) GetUEFIVendor

func (p *Aarch64) GetUEFIVendor() string

type Aarch64_Fedora added in v0.6.0

type Aarch64_Fedora struct {
	BasePlatform
	UEFIVendor string
	BootFiles  [][2]string
}

func (*Aarch64_Fedora) GetArch added in v0.6.0

func (p *Aarch64_Fedora) GetArch() arch.Arch

func (*Aarch64_Fedora) GetBootFiles added in v0.6.0

func (p *Aarch64_Fedora) GetBootFiles() [][2]string

func (*Aarch64_Fedora) GetPackages added in v0.6.0

func (p *Aarch64_Fedora) GetPackages() []string

func (*Aarch64_Fedora) GetUEFIVendor added in v0.6.0

func (p *Aarch64_Fedora) GetUEFIVendor() string

type BasePlatform

type BasePlatform struct {
	ImageFormat      ImageFormat
	QCOW2Compat      string
	FirmwarePackages []string
}

func (BasePlatform) GetBIOSPlatform

func (p BasePlatform) GetBIOSPlatform() string

func (BasePlatform) GetBootFiles

func (p BasePlatform) GetBootFiles() [][2]string

func (BasePlatform) GetBuildPackages

func (p BasePlatform) GetBuildPackages() []string

func (BasePlatform) GetImageFormat

func (p BasePlatform) GetImageFormat() ImageFormat

func (BasePlatform) GetPackages

func (p BasePlatform) GetPackages() []string

func (BasePlatform) GetQCOW2Compat

func (p BasePlatform) GetQCOW2Compat() string

func (BasePlatform) GetUEFIVendor

func (p BasePlatform) GetUEFIVendor() string

func (BasePlatform) GetZiplSupport

func (p BasePlatform) GetZiplSupport() bool

type BootMode added in v0.96.0

type BootMode uint64
const (
	BOOT_NONE BootMode = iota
	BOOT_LEGACY
	BOOT_UEFI
	BOOT_HYBRID
)

func (BootMode) String added in v0.96.0

func (m BootMode) String() string

type ImageFormat

type ImageFormat uint64
const (
	FORMAT_UNSET ImageFormat = iota
	FORMAT_RAW
	FORMAT_ISO
	FORMAT_QCOW2
	FORMAT_VMDK
	FORMAT_VHD
	FORMAT_GCE
	FORMAT_OVA
)

func (ImageFormat) String

func (f ImageFormat) String() string

type PPC64LE

type PPC64LE struct {
	BasePlatform
	BIOS bool
}

func (*PPC64LE) GetArch

func (p *PPC64LE) GetArch() arch.Arch

func (*PPC64LE) GetBIOSPlatform

func (p *PPC64LE) GetBIOSPlatform() string

func (*PPC64LE) GetBuildPackages

func (p *PPC64LE) GetBuildPackages() []string

func (*PPC64LE) GetPackages

func (p *PPC64LE) GetPackages() []string

type Platform

type Platform interface {
	GetArch() arch.Arch
	GetImageFormat() ImageFormat
	GetQCOW2Compat() string
	GetBIOSPlatform() string
	GetUEFIVendor() string
	GetZiplSupport() bool
	GetPackages() []string
	GetBuildPackages() []string
	GetBootFiles() [][2]string
}

type S390X

type S390X struct {
	BasePlatform
	Zipl bool
}

func (*S390X) GetArch

func (p *S390X) GetArch() arch.Arch

func (*S390X) GetBuildPackages

func (p *S390X) GetBuildPackages() []string

func (*S390X) GetPackages

func (p *S390X) GetPackages() []string

func (*S390X) GetZiplSupport

func (p *S390X) GetZiplSupport() bool

type X86

type X86 struct {
	BasePlatform
	BIOS       bool
	UEFIVendor string
}

func (*X86) GetArch

func (p *X86) GetArch() arch.Arch

func (*X86) GetBIOSPlatform

func (p *X86) GetBIOSPlatform() string

func (*X86) GetBuildPackages

func (p *X86) GetBuildPackages() []string

func (*X86) GetPackages

func (p *X86) GetPackages() []string

func (*X86) GetUEFIVendor

func (p *X86) GetUEFIVendor() string

Jump to

Keyboard shortcuts

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