vboxmanage

package module
v0.0.0-...-c9c7ecc Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Loglevel = 3

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	Name   string
	UUID   string
	Parent string
}

type VM

type VM struct {
	UUID      string
	Bridge    string
	Group     string
	Name      string
	MAC       []string
	Memory    int
	Power     string
	Snapshots []Snapshot
	Nic       string
	Meta      map[string]string
}

func ListVMs

func ListVMs() ([]VM, error)

func (*VM) DeleteSnapshot

func (vm *VM) DeleteSnapshot(name string) error

func (*VM) MakeSnapshot

func (vm *VM) MakeSnapshot(name string, description string) error

func (*VM) Modify

func (vm *VM) Modify(key string, value string) error

func (*VM) Poweroff

func (vm *VM) Poweroff() error

func (*VM) Refresh

func (vm *VM) Refresh() error

func (*VM) RestoreSnapshot

func (vm *VM) RestoreSnapshot(name string) error

func (*VM) Start

func (vm *VM) Start() error

Jump to

Keyboard shortcuts

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