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
Click to show internal directories.
Click to hide internal directories.