qemu

package
v0.14.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmdline

func Cmdline(cfg Config) (string, []string, error)

func CreateDataDisk added in v0.14.0

func CreateDataDisk(dir string, size int) error

func EnsureDisk

func EnsureDisk(cfg Config) error

EnsureDisk also ensures the kernel and the initrd

Types

type Config

type Config struct {
	Name         string
	InstanceDir  string
	LimaYAML     *limayaml.LimaYAML
	SSHLocalPort int
}

type LimaQemuDriver added in v0.14.0

type LimaQemuDriver struct {
	*driver.BaseDriver
	// contains filtered or unexported fields
}

func New added in v0.14.0

func New(driver *driver.BaseDriver) *LimaQemuDriver

func (*LimaQemuDriver) CreateDisk added in v0.14.0

func (l *LimaQemuDriver) CreateDisk() error

func (*LimaQemuDriver) Start added in v0.14.0

func (l *LimaQemuDriver) Start(ctx context.Context) (chan error, error)

func (*LimaQemuDriver) Stop added in v0.14.0

func (l *LimaQemuDriver) Stop(ctx context.Context) error

func (*LimaQemuDriver) Validate added in v0.14.0

func (l *LimaQemuDriver) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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