Documentation
¶
Index ¶
- type Aarch64
- type Aarch64_Fedora
- type BasePlatform
- func (p BasePlatform) GetBIOSPlatform() string
- func (p BasePlatform) GetBootFiles() [][2]string
- func (p BasePlatform) GetBuildPackages() []string
- func (p BasePlatform) GetImageFormat() ImageFormat
- func (p BasePlatform) GetPackages() []string
- func (p BasePlatform) GetQCOW2Compat() string
- func (p BasePlatform) GetUEFIVendor() string
- func (p BasePlatform) GetZiplSupport() bool
- type BootMode
- type ImageFormat
- type PPC64LE
- type Platform
- type PlatformConf
- func (pc *PlatformConf) GetArch() arch.Arch
- func (pc *PlatformConf) GetBIOSPlatform() string
- func (pc *PlatformConf) GetBootFiles() [][2]string
- func (pc *PlatformConf) GetBuildPackages() []string
- func (pc *PlatformConf) GetImageFormat() ImageFormat
- func (pc *PlatformConf) GetPackages() []string
- func (pc *PlatformConf) GetQCOW2Compat() string
- func (pc *PlatformConf) GetUEFIVendor() string
- func (pc *PlatformConf) GetZiplSupport() bool
- type RISCV64
- type S390X
- type X86
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) GetPackages ¶
func (*Aarch64) GetUEFIVendor ¶
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 ImageFormat ¶
type ImageFormat uint64
const ( FORMAT_UNSET ImageFormat = iota FORMAT_RAW FORMAT_ISO FORMAT_QCOW2 FORMAT_VMDK FORMAT_VHD FORMAT_GCE FORMAT_OVA FORMAT_VAGRANT_LIBVIRT )
func (ImageFormat) String ¶
func (f ImageFormat) String() string
func (*ImageFormat) UnmarshalJSON ¶ added in v0.40.2
func (f *ImageFormat) UnmarshalJSON(data []byte) error
func (*ImageFormat) UnmarshalYAML ¶ added in v0.40.2
func (f *ImageFormat) UnmarshalYAML(unmarshal func(any) error) error
type PPC64LE ¶
type PPC64LE struct {
BasePlatform
BIOS bool
}
func (*PPC64LE) GetBIOSPlatform ¶
func (*PPC64LE) GetBuildPackages ¶
func (*PPC64LE) GetPackages ¶
type PlatformConf ¶ added in v0.40.2
type PlatformConf struct {
Arch arch.Arch `yaml:"arch"`
ImageFormat ImageFormat `yaml:"image_format"`
QCOW2Compat string `yaml:"qcow2_compat"`
BIOSPlatform string `yaml:"bios_platform"`
UEFIVendor string `yaml:"uefi_vendor"`
ZiplSupport bool `yaml:"zipl_support"`
// packages are index by an arbitrary string key to
// make them YAML mergable, a good key is e.g. "bios"
// to indicate that these packages are needed for
// bios support
Packages map[string][]string `yaml:"packages"`
BuildPackages map[string][]string `yaml:"build_packages"`
BootFiles [][2]string `yaml:"boot_files"`
}
PlatformConf is a platform configured from YAML inputs that implements the "Platform" interface
func (*PlatformConf) GetArch ¶ added in v0.40.2
func (pc *PlatformConf) GetArch() arch.Arch
func (*PlatformConf) GetBIOSPlatform ¶ added in v0.40.2
func (pc *PlatformConf) GetBIOSPlatform() string
func (*PlatformConf) GetBootFiles ¶ added in v0.40.2
func (pc *PlatformConf) GetBootFiles() [][2]string
func (*PlatformConf) GetBuildPackages ¶ added in v0.40.2
func (pc *PlatformConf) GetBuildPackages() []string
func (*PlatformConf) GetImageFormat ¶ added in v0.40.2
func (pc *PlatformConf) GetImageFormat() ImageFormat
func (*PlatformConf) GetPackages ¶ added in v0.40.2
func (pc *PlatformConf) GetPackages() []string
func (*PlatformConf) GetQCOW2Compat ¶ added in v0.40.2
func (pc *PlatformConf) GetQCOW2Compat() string
func (*PlatformConf) GetUEFIVendor ¶ added in v0.40.2
func (pc *PlatformConf) GetUEFIVendor() string
func (*PlatformConf) GetZiplSupport ¶ added in v0.40.2
func (pc *PlatformConf) GetZiplSupport() bool
type RISCV64 ¶ added in v0.40.2
type RISCV64 struct {
BasePlatform
UEFIVendor string
}
func (*RISCV64) GetBuildPackages ¶ added in v0.40.2
func (*RISCV64) GetPackages ¶ added in v0.40.2
func (*RISCV64) GetUEFIVendor ¶ added in v0.40.2
type S390X ¶
type S390X struct {
BasePlatform
Zipl bool
}
func (*S390X) GetBuildPackages ¶
func (*S390X) GetPackages ¶
func (*S390X) GetZiplSupport ¶
type X86 ¶
type X86 struct {
BasePlatform
BIOS bool
UEFIVendor string
}
func (*X86) GetBIOSPlatform ¶
func (*X86) GetBuildPackages ¶
func (*X86) GetPackages ¶
func (*X86) GetUEFIVendor ¶
Click to show internal directories.
Click to hide internal directories.