vm

package
v0.0.0-...-f4e3210 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler interface {
	OnGuestPropertyChanged(name, value string, timestamp int64, flags string)
}

type VirtualMachine

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

func NewVM

func NewVM() (*VirtualMachine, error)

func (*VirtualMachine) Create

func (vm *VirtualMachine) Create() error

func (*VirtualMachine) OnStateChanged

func (vm *VirtualMachine) OnStateChanged(event vbox.Event)

func (*VirtualMachine) RegisterEventHandler

func (vm *VirtualMachine) RegisterEventHandler(handler EventHandler)

func (*VirtualMachine) Release

func (vm *VirtualMachine) Release() error

func (*VirtualMachine) Run

func (vm *VirtualMachine) Run() (err error)

func (*VirtualMachine) Start

func (vm *VirtualMachine) Start() error

func (*VirtualMachine) Stop

func (vm *VirtualMachine) Stop() error

Jump to

Keyboard shortcuts

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