Documentation ¶
Index ¶
- Constants
- func ConfigureSSH(vmName string, vmSSHPort string) (port string, err error)
- func CreateOsVM(vmName string, templateName string) error
- func CreateSnapshot(vmName string, snapshotName string) error
- func Delete(vmName string) error
- func Exist(vmName string) bool
- func FindSSHPort(vmName string) (port string, err error)
- func Kill(vmName string) error
- func RevertToSnapshot(vmName string) error
- func Start(vmName string) error
- func Stop(vmName string) error
- func Unregister(vmName string) error
- func VBoxManage(args ...string) (string, error)
- func VboxManageOutput(exe string, args ...string) (string, error)
- func Version() (string, error)
- func WaitForStatus(vmName string, vmStatus StatusType, seconds int) error
- type StatusType
Constants ¶
View Source
const ( NotFound StatusType = "notfound" Invalid = "invalid" Stopped = "stopped" Suspended = "suspended" Running = "running" Saved = "saved" )
Variables ¶
This section is empty.
Functions ¶
func CreateOsVM ¶
func CreateSnapshot ¶
func FindSSHPort ¶
func RevertToSnapshot ¶
func Unregister ¶
func VBoxManage ¶
func WaitForStatus ¶
func WaitForStatus(vmName string, vmStatus StatusType, seconds int) error
Types ¶
type StatusType ¶
type StatusType string
func Status ¶
func Status(vmName string) (StatusType, error)
Click to show internal directories.
Click to hide internal directories.