vmw

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteVM

func DeleteVM(name string) error

func GetVMStatus

func GetVMStatus(name, dir string) (string, error)

func LaunchVM

func LaunchVM(c *VMConfig) (*exec.Cmd, error)

func StopVM

func StopVM(name string) error

func StoreConfig

func StoreConfig(c *VMConfig) error

Types

type VMConfig

type VMConfig struct {
	Name         string
	Dir          string
	Image        string
	Memory       int64
	Cpus         int
	NatRules     []nat.Rule
	VMXFile      string
	InstanceDir  string
	OriginalVMDK string
	ConfigFile   string
}

func LoadConfig

func LoadConfig(name string) (*VMConfig, error)

Jump to

Keyboard shortcuts

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