schema

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ARMDiskOptions added in v0.2.4

type ARMDiskOptions struct {
	Model       string     `yaml:"model"`
	LVM         bool       `yaml:"lvm"`
	DiskSize    SizeOption `yaml:"size"`
	EFIOverlay  string     `yaml:"efi_overlay_dir"`
	PrepareOnly bool       `yaml:"prepare_only"`
}

type Config

type Config struct {
	// CloudConfig to use for generating installation mediums
	CloudConfig string `yaml:"cloud_config"`

	// Disable Netboot
	DisableNetboot bool `yaml:"disable_netboot"`

	// Disable HTTP Server
	DisableHTTPServer bool `yaml:"disable_http_server"`

	// Disable manual ISO boot
	DisableISOboot bool `yaml:"disable_iso"`

	// PixieCore HTTPServer Port
	NetBootHTTPPort string `yaml:"netboot_http_port"`

	// PixieCore Listen addr
	NetBootListenAddr string `yaml:"netboot_listen_addr"`

	State string `yaml:"state_dir"`

	ListenAddr string `yaml:"listen_addr"`

	// ISO block configuration
	ISO ISO `yaml:"iso"`

	// Netboot block configuration
	NetBoot NetBoot `yaml:"netboot"`

	Disk Disk `yaml:"disk"`

	System System `yaml:"system"`
}

Config represent the AuroraBoot configuration

func (Config) StateDir

func (c Config) StateDir(s ...string) string

type Disk added in v0.2.4

type Disk struct {
	RAW bool `yaml:"raw"`
	GCE bool `yaml:"gce"`
	VHD bool `yaml:"vhd"`
	MBR bool `yaml:"mbr"`

	ARM *ARMDiskOptions `yaml:"arm"`
}

type ISO

type ISO struct {
	DataPath string `yaml:"data"`
}

type NetBoot

type NetBoot struct {
	Cmdline string `yaml:"cmdline"`
}

type ReleaseArtifact

type ReleaseArtifact struct {
	ArtifactVersion string `yaml:"artifact_version"`
	Model           string `yaml:"model"`
	Flavor          string `yaml:"flavor"`
	FlavorRelease   string `yaml:"flavor_release"`
	Platform        string `yaml:"platform"`
	ReleaseVersion  string `yaml:"release_version"`
	Repository      string `yaml:"repository"`
	Variant         string `yaml:"variant"`

	ContainerImage string `yaml:"container_image"`
}

func (ReleaseArtifact) FileName added in v0.2.6

func (a ReleaseArtifact) FileName() string

func (ReleaseArtifact) ISOUrl

func (a ReleaseArtifact) ISOUrl() string

func (ReleaseArtifact) InitrdURL

func (a ReleaseArtifact) InitrdURL() string

func (ReleaseArtifact) KernelURL

func (a ReleaseArtifact) KernelURL() string

func (ReleaseArtifact) NetbootArtifacts

func (a ReleaseArtifact) NetbootArtifacts() []string

func (ReleaseArtifact) SquashFSURL

func (a ReleaseArtifact) SquashFSURL() string

type SizeOption added in v0.2.4

type SizeOption struct {
	Disk              string `yaml:"size"`
	StatePartition    string `yaml:"state_partition"`
	Images            string `yaml:"images"`
	RecoveryPartition string `yaml:"recovery_partition"`
}

type System added in v0.2.7

type System struct {
	Memory  string `yaml:"memory"`
	Cores   string `yaml:"cores"`
	Qemubin string `yaml:"qemu_bin"`
	KVM     bool   `yaml:"kvm"`
}

Jump to

Keyboard shortcuts

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