qemu

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 8 Imported by: 0

README


title: QEMU description: QEMU via LibVirt weight: 20

This provider uses the libvirt sdk by digital ocean. Currently, it is hardcoded to use qemu:///system, this should change in the future.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.Provider

Types

type Environment added in v0.4.0

type Environment struct {
	// contains filtered or unexported fields
}

func (*Environment) CreateVM added in v0.4.0

func (e *Environment) CreateVM(options types.MachineLaunchOptions) error

func (*Environment) DestroyImage added in v0.4.0

func (e *Environment) DestroyImage(imageID string) error

func (*Environment) DestroyVM added in v0.4.0

func (e *Environment) DestroyVM(id string) error

func (*Environment) ImageBuilds added in v0.4.0

func (e *Environment) ImageBuilds() ([]types.ImageBuild, error)

func (*Environment) Images added in v0.4.0

func (e *Environment) Images() ([]types.Image, error)

func (*Environment) Name added in v0.4.0

func (e *Environment) Name() string

func (*Environment) Profile added in v0.4.0

func (e *Environment) Profile() types.Profile

func (*Environment) RestartVM added in v0.4.0

func (e *Environment) RestartVM(id string) error

func (*Environment) StartVM added in v0.4.0

func (e *Environment) StartVM(id string) error

func (*Environment) StopVM added in v0.4.0

func (e *Environment) StopVM(id string) error

func (*Environment) VMs added in v0.4.0

func (e *Environment) VMs() []types.VM

type Profile added in v0.4.0

type Profile struct {
	types.Profile
}

func NewProfile

func NewProfile(name string, providerInstance *Provider, config common.ProfileConfig) *Profile

func (*Profile) Environments added in v0.4.0

func (p *Profile) Environments() []types.Environment

type Provider added in v0.4.0

type Provider struct {
	types.Provider
	// contains filtered or unexported fields
}

func (*Provider) IsAvailable added in v0.4.0

func (p *Provider) IsAvailable() bool

func (*Provider) Profiles added in v0.4.0

func (p *Provider) Profiles() []types.Profile

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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