Versions in this module Expand all Collapse all v0 v0.0.2 Mar 14, 2023 Changes in this version + func DeleteVM(vmName string) error + type VMStateType string + const Poweroff v0.0.1 Mar 3, 2023 Changes in this version + const SshPortRuleName + func DestroyVM(vmName string) error + func GetVmIp(vminfo *VirtualboxVMInfo) (string, error) + func InjectSSHKey(vmName, sshUser, sshKey string) error + type NetworkType string + const Bridged + const Generic + const Hostonly + const Hostonlynet + const Nat + const Natnetwork + type VMBootType string + const Gui + const Headless + const Sdl + const Separate + type VirtualboxVMInfo struct + ID string + Name string + SSHPort string + State string + VmdkPath string + func CreateVM(imagePath, vmName string, memory, cpus int64) (*VirtualboxVMInfo, error) + func ForwardLocalPort(vmName string, guestPort int) (*VirtualboxVMInfo, error) + func GetVMInfo(vmName string) (*VirtualboxVMInfo, error) + func StartVM(vmName string, vmType VMBootType) (*VirtualboxVMInfo, error) + func StopVM(vmName string) (*VirtualboxVMInfo, error)