qemuiso

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Platform platform.Name = "qemu-iso"
)

Variables

This section is empty.

Functions

func NewFlight

func NewFlight(opts *Options) (platform.Flight, error)

Types

type Cluster

type Cluster struct {
	*platform.BaseCluster
	// contains filtered or unexported fields
}

Cluster is a local cluster of QEMU-based virtual machines.

XXX: must be exported so that certain QEMU tests can access struct members through type assertions.

func (*Cluster) Destroy

func (qc *Cluster) Destroy()

func (*Cluster) NewMachine

func (qc *Cluster) NewMachine(userdata *conf.UserData) (platform.Machine, error)

func (*Cluster) NewMachineWithOptions

func (qc *Cluster) NewMachineWithOptions(userdata *conf.UserData, options platform.MachineOptions) (platform.Machine, error)

func (*Cluster) NewMachineWithQemuOptions

func (qc *Cluster) NewMachineWithQemuOptions(userdata *conf.UserData, options platform.QemuMachineOptions) (platform.Machine, error)

type Options

type Options struct {
	// IsoPath is the full path to the ISO image to boot in QEMU
	IsoPath  string
	Firmware string
	Memory   string
	AsDisk   bool

	*platform.Options
}

Options contains QEMU-specific options for the flight.

Jump to

Keyboard shortcuts

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