Documentation ¶
Index ¶
- func DoesVirtualMachineExist(vmName string) (bool, error)
- func DoesVirtualMachineSnapshotExist(vmName string, snapshotName string) (bool, error)
- func GetHostAvailableMemory() float64
- func GetHostName(ip string) (string, error)
- func GetVirtualMachineGeneration(vmName string) (uint, error)
- func HasVirtualMachineVirtualizationExtensions() (bool, error)
- func IsCurrentUserAnAdministrator() (bool, error)
- func IsFalse(s string) bool
- func IsPowershellAvailable() (bool, string, error)
- func IsTrue(s string) bool
- func IsVirtualMachineOn(vmName string) (bool, error)
- func ModuleExists(moduleName string) (bool, error)
- func SetUnattendedProductKey(path string, productKey string) error
- type PowerShellCmd
- type ScriptBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesVirtualMachineExist ¶ added in v1.1.1
func DoesVirtualMachineSnapshotExist ¶ added in v1.1.1
func GetHostAvailableMemory ¶
func GetHostAvailableMemory() float64
func GetHostName ¶
func GetVirtualMachineGeneration ¶ added in v1.1.1
func IsPowershellAvailable ¶
func IsVirtualMachineOn ¶ added in v1.1.1
func ModuleExists ¶
func SetUnattendedProductKey ¶
Types ¶
type PowerShellCmd ¶
type ScriptBuilder ¶
type ScriptBuilder struct {
// contains filtered or unexported fields
}
func (*ScriptBuilder) Reset ¶
func (b *ScriptBuilder) Reset()
func (*ScriptBuilder) String ¶
func (b *ScriptBuilder) String() string
func (*ScriptBuilder) WriteString ¶
func (b *ScriptBuilder) WriteString(s string) (n int, err error)
Click to show internal directories.
Click to hide internal directories.