hypervisor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: BSD-3-Clause Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

Types

type Volume

type Volume struct {
	Path    string `yaml:"-"`
	Format  string `yaml:"format,omitempty"` // raw|qcow2|...
	AioType string `yaml:"aio,omitempty"`    // native|threads
	Cache   string `yaml:"cache,omitempty"`  // none|unsafe|writethrough...
}

func ParseVolumes

func ParseVolumes(volumeStrings []string) ([]Volume, error)

ParseVolumes parses --volume strings that are of following format: --volume {volumePath}[:{options}] Example: --volume /path/to/myvolume.img:format=raw:aio=native

func (*Volume) PersistMetadata

func (v *Volume) PersistMetadata() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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