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 Contains(s []string, e string) bool
- func Copy(src, dst string) (int64, 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 Download(fullURLFile string, destPath 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 GetARP() (string, error)
- func GetCpuModel() string
- func GetDefaultVirtualSwitch() (string, error)
- func GetExternalOnlineVirtualSwitch() (string, error)
- func GetHostAdapterIpAddressForSwitch(switchName string) (string, error)
- func GetRandomString(length int) string
- func GetVirtualMachineGeneration(vmName string) (uint, error)
- func GetVirtualMachineNetworkAdapterAddress(vmName string) (string, error)
- func GetVirtualMachineSwitchName(vmName string) (string, error)
- func GetVmIpAddress(vmName string) (string, error)
- func GetVmMac(vmName string) (string, error)
- func ImportVmxcVirtualMachine(importPath string, vmName string, harddrivePath string, ram int64, ...) error
- func IndexOf(slice []string, e string) int
- 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 RandomPort() int
- func Remove(slice []string, e string) []string
- func RemoveIndex(slice []string, s int) []string
- 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 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 UnTar(src io.Reader, dst string) error
- func UnZip(src string, dst string) ([]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)
- type TimerService
- func (s *TimerService) GetTicker(id uint64) *time.Ticker
- func (s *TimerService) GetTimer(id uint64) *time.Timer
- func (s *TimerService) SubTicker(id uint64, ticker *time.Ticker)
- func (s *TimerService) SubTimer(id uint64, timer *time.Timer)
- func (s *TimerService) UnSubTicker(id uint64)
- func (s *TimerService) UnSubTimer(id uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVirtualMachineHardDiskDrive ¶ added in v1.1.0
func CloneVirtualMachine ¶ added in v1.1.0
func CompactDisks ¶ added in v1.1.0
func ConnectVirtualMachineNetworkAdapterToSwitch ¶ added in v1.1.0
func CopyExportedVirtualMachine ¶ added in v1.1.0
func CopyVmxcVirtualMachine ¶ added in v1.1.0
func CreateDvdDrive ¶ added in v1.1.0
func CreateExternalVirtualSwitch ¶ added in v1.1.0
func CreateVirtualMachine ¶ added in v1.1.0
func CreateVirtualSwitch ¶ added in v1.1.0
func DeleteAllDvdDrives ¶ added in v1.1.0
func DeleteDvdDrive ¶ added in v1.1.0
func DeleteVirtualMachine ¶ added in v1.1.0
func DeleteVirtualSwitch ¶ added in v1.1.0
func DisableAutomaticCheckpoints ¶ added in v1.1.0
func EnableVirtualMachineIntegrationService ¶ added in v1.1.0
func ExportVirtualMachine ¶ added in v1.1.0
func ExportVmxcVirtualMachine ¶ added in v1.1.0
func GetDefaultVirtualSwitch ¶ added in v1.1.0
func GetExternalOnlineVirtualSwitch ¶ added in v1.1.0
func GetHostAdapterIpAddressForSwitch ¶ added in v1.1.0
func GetRandomString ¶
func GetVirtualMachineGeneration ¶ added in v1.1.0
func GetVirtualMachineNetworkAdapterAddress ¶ added in v1.1.0
func GetVirtualMachineSwitchName ¶ added in v1.1.0
func GetVmIpAddress ¶ added in v1.1.0
func ImportVmxcVirtualMachine ¶ added in v1.1.0
func MountDvdDrive ¶ added in v1.1.0
func MountFloppyDrive ¶ added in v1.1.0
func RandomPort ¶
func RandomPort() int
func RemoveIndex ¶
func RestartVirtualMachine ¶ added in v1.1.0
func SetBootDvdDrive ¶ added in v1.1.0
func SetNetworkAdapterVlanId ¶ added in v1.1.0
func SetVirtualMachineCpuCount ¶ added in v1.1.0
func SetVirtualMachineDynamicMemory ¶ added in v1.1.0
func SetVirtualMachineMacSpoofing ¶ added in v1.1.0
func SetVirtualMachineSecureBoot ¶ added in v1.1.0
func SetVirtualMachineVirtualizationExtensions ¶ added in v1.1.0
func SetVirtualMachineVlanId ¶ added in v1.1.0
func StartVirtualMachine ¶ added in v1.1.0
func StopVirtualMachine ¶ added in v1.1.0
func TypeScanCodes ¶ added in v1.1.0
func UnZip ¶
unzip will decompress a zip archive, moving all files and folders within the zip file (parameter 1) to an output directory (parameter 2).
func UnmountDvdDrive ¶ added in v1.1.0
func UnmountFloppyDrive ¶ added in v1.1.0
func UntagVirtualMachineNetworkAdapterVlan ¶ added in v1.1.0
Types ¶
type TimerService ¶ added in v1.1.0
type TimerService struct {
// contains filtered or unexported fields
}
func NewTimerService ¶ added in v1.1.0
func NewTimerService() *TimerService
func (*TimerService) GetTicker ¶ added in v1.1.0
func (s *TimerService) GetTicker(id uint64) *time.Ticker
func (*TimerService) GetTimer ¶ added in v1.1.0
func (s *TimerService) GetTimer(id uint64) *time.Timer
func (*TimerService) SubTicker ¶ added in v1.1.0
func (s *TimerService) SubTicker(id uint64, ticker *time.Ticker)
func (*TimerService) SubTimer ¶ added in v1.1.0
func (s *TimerService) SubTimer(id uint64, timer *time.Timer)
func (*TimerService) UnSubTicker ¶ added in v1.1.0
func (s *TimerService) UnSubTicker(id uint64)
func (*TimerService) UnSubTimer ¶ added in v1.1.0
func (s *TimerService) UnSubTimer(id uint64)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.