vm

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 0 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 {
	Image    string
	ISO      string
	Memory   uint64
	CPUCount uint
	Network  string
	DiskSize uint64
}

type Manager

type Manager interface {
	Create(name string, config *Config) error
	Start(name string) error
	Shutdown(name string, force bool) error
	Remove(name string) error
	List() ([]VM, error)
	Get(name string) (*VM, error)
}

type VM

type VM struct {
	Name      string
	State     string
	IPAddress string
	Images    []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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