Documentation ¶
Index ¶
- func AddVirtualMachineHardDiskDrive(vmName string, vhdRoot string, vhdName string, vhdSizeBytes int64, ...) error
- func CloneVirtualMachine(cloneFromVmxcPath string, cloneFromVmName string, cloneFromSnapshotName string, ...) error
- func CompactDisks(expPath string, vhdDir string) error
- func ConnectVirtualMachineNetworkAdapterToSwitch(vmName string, switchName string) error
- func CopyExportedVirtualMachine(expPath string, outputPath string, vhdDir string, vmDir string) error
- func CopyVmxcVirtualMachine(exportPath string, cloneFromVmxcPath string) error
- func CreateDvdDrive(vmName string, isoPath string, generation uint) (uint, uint, error)
- func CreateExternalVirtualSwitch(vmName string, switchName string) error
- func CreateVirtualMachine(vmName string, path string, harddrivePath string, vhdRoot string, ram int64, ...) error
- func CreateVirtualSwitch(switchName string, switchType string) (bool, error)
- func DeleteAllDvdDrives(vmName string) error
- func DeleteDvdDrive(vmName string, controllerNumber uint, controllerLocation uint) error
- func DeleteVirtualMachine(vmName string) error
- func DeleteVirtualSwitch(switchName string) error
- func DisableAutomaticCheckpoints(vmName string) error
- func EnableVirtualMachineIntegrationService(vmName string, integrationServiceName string) error
- func ExportVirtualMachine(vmName string, path string) error
- func ExportVmxcVirtualMachine(exportPath string, vmName string, snapshotName string, allSnapshots bool) error
- func GetExternalOnlineVirtualSwitch() (string, error)
- func GetHostAdapterIpAddressForSwitch(switchName string) (string, error)
- func GetVirtualMachineGeneration(vmName string) (uint, error)
- func GetVirtualMachineNetworkAdapterAddress(vmName string) (string, error)
- func GetVirtualMachineSwitchName(vmName string) (string, error)
- func ImportVmxcVirtualMachine(importPath string, vmName string, harddrivePath string, ram int64, ...) error
- func IpAddress(mac string) (string, error)
- func IsOff(vmName string) (bool, error)
- func IsRunning(vmName string) (bool, error)
- func Mac(vmName string) (string, error)
- func MountDvdDrive(vmName string, path string, controllerNumber uint, controllerLocation uint) error
- func MountFloppyDrive(vmName string, path string) error
- func RestartVirtualMachine(vmName string) error
- func SetBootDvdDrive(vmName string, controllerNumber uint, controllerLocation uint, generation uint) error
- func SetNetworkAdapterVlanId(switchName string, vlanId string) error
- func SetVirtualMachineCpuCount(vmName string, cpu uint) error
- func SetVirtualMachineDynamicMemory(vmName string, enableDynamicMemory bool) error
- func SetVirtualMachineMacSpoofing(vmName string, enableMacSpoofing bool) error
- func SetVirtualMachineSecureBoot(vmName string, enableSecureBoot bool) error
- func SetVirtualMachineVirtualizationExtensions(vmName string, enableVirtualizationExtensions bool) error
- func SetVirtualMachineVlanId(vmName string, vlanId string) error
- func SetVmNetworkAdapterMacAddress(vmName string, mac string) error
- func ShutDown(vmName string) error
- func StartVirtualMachine(vmName string) error
- func StopVirtualMachine(vmName string) error
- func TurnOff(vmName string) error
- func TypeScanCodes(vmName string, scanCodes string) error
- func UnmountDvdDrive(vmName string, controllerNumber uint, controllerLocation uint) error
- func UnmountFloppyDrive(vmName string) error
- func UntagVirtualMachineNetworkAdapterVlan(vmName string, switchName string) error
- func Uptime(vmName string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVirtualMachineHardDiskDrive ¶ added in v1.1.2
func CloneVirtualMachine ¶ added in v1.1.1
func CompactDisks ¶
func CopyVmxcVirtualMachine ¶ added in v1.1.1
func CreateDvdDrive ¶
func CreateVirtualMachine ¶
func CreateVirtualSwitch ¶
func DeleteAllDvdDrives ¶
func DeleteDvdDrive ¶
func DeleteVirtualMachine ¶
func DeleteVirtualSwitch ¶
func DisableAutomaticCheckpoints ¶ added in v1.1.1
func ExportVirtualMachine ¶
func ExportVmxcVirtualMachine ¶ added in v1.1.1
func GetVirtualMachineGeneration ¶ added in v1.1.1
func ImportVmxcVirtualMachine ¶ added in v1.1.1
func MountDvdDrive ¶
func MountFloppyDrive ¶
func RestartVirtualMachine ¶
func SetBootDvdDrive ¶
func SetNetworkAdapterVlanId ¶
func SetVirtualMachineVlanId ¶
func SetVmNetworkAdapterMacAddress ¶ added in v1.2.0
func StartVirtualMachine ¶
func StopVirtualMachine ¶
func TypeScanCodes ¶
func UnmountDvdDrive ¶
func UnmountFloppyDrive ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.