Documentation ¶
Index ¶
- func AttachDisk(vmNameOrId, vmdkPath string, controllerPort int, ...) error
- func ConfigureVmNetwork(vmName, adapterName string, adapterType config.VirtualboxAdapterType) error
- func CreateVm(vmName, baseFolder string, memoryMb int, adapterName string, ...) error
- func CreateVmNatless(vmName, baseFolder, adapterName string, ...) error
- func DestroyVm(vmNameOrId string) error
- func DetachDisk(vmNameOrId string, controllerPort int, storageDriver types.StorageDriver) error
- func PowerOffVm(vmNameOrId string) error
- func PowerOnVm(vmNameOrId string) error
- func RefreshDiskUUID(diskPath string) error
- type VboxDevice
- type VboxVm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachDisk ¶
func AttachDisk(vmNameOrId, vmdkPath string, controllerPort int, storageDriver types.StorageDriver) error
func ConfigureVmNetwork ¶
func ConfigureVmNetwork(vmName, adapterName string, adapterType config.VirtualboxAdapterType) error
func CreateVm ¶
func CreateVm(vmName, baseFolder string, memoryMb int, adapterName string, adapterType config.VirtualboxAdapterType, storageDriver types.StorageDriver) error
func CreateVmNatless ¶
func CreateVmNatless(vmName, baseFolder, adapterName string, adapterType config.VirtualboxAdapterType, storageDriver types.StorageDriver) error
func DetachDisk ¶
func DetachDisk(vmNameOrId string, controllerPort int, storageDriver types.StorageDriver) error
func PowerOffVm ¶
func RefreshDiskUUID ¶
Types ¶
type VboxDevice ¶
Click to show internal directories.
Click to hide internal directories.