VirtualMachine

package module
v0.0.0-...-297e58c Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2014 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualMachine

type VirtualMachine interface {
	GetUUID() string
	Start() error
	PostStart() error
	Stop() error
	Status() string
	CreateSnapshot(snapname string) error
	RestoreSnapshot(snapname string) error
	DeleteSnapshot(snapname string) error
	PrepareHostNetworking() error
	PrepareGuestNetworking() error
	NetworkingStatus() string
	GetPath() (string, error)
	IsOnline() bool
	Validate() error
	Persist(db *gorp.DbMap) error
	Delete(db *gorp.DbMap) error
	Archive(archivename string) error
}

type VirtualMachineError

type VirtualMachineError struct {
	ErrorString string
	VM          VirtualMachine
}

func (VirtualMachineError) Error

func (e VirtualMachineError) Error() string

Jump to

Keyboard shortcuts

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