schema

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 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 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 {
	EFI       bool   `yaml:"efi"`
	GCE       bool   `yaml:"gce"`
	VHD       bool   `yaml:"vhd"`
	BIOS      bool   `yaml:"bios"`
	Size      string `yaml:"size"`
	StateSize string `yaml:"state_size"`
}

type ISO

type ISO struct {
	DataPath      string `yaml:"data"`
	Name          string `yaml:"name"` // Final artifact base name
	OverrideName  string `yaml:"override_name"`
	IncludeDate   bool   `yaml:"include_date"`
	OverlayISO    string `yaml:"overlay_iso"`
	OverlayRootfs string `yaml:"overlay_rootfs"`
	OverlayUEFI   string `yaml:"overlay_uefi"`
}

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