Documentation ¶
Index ¶
- func GetHostAvailableMemory() float64
- func GetHostName(ip string) (string, error)
- func HasVirtualMachineVirtualizationExtensions() (bool, error)
- func IsCurrentUserAnAdministrator() (bool, error)
- func IsPowershellAvailable() (bool, string, 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 GetHostAvailableMemory ¶
func GetHostAvailableMemory() float64
func GetHostName ¶
func IsPowershellAvailable ¶
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.