Documentation
¶
Index ¶
- Constants
- func GenerateInstallScriptFile(fileContentBase64 string, filepath string) error
- func GenerateTagFile(filepath string) error
- type AdministratorPassword
- type AutoLogon
- type Component
- type FirewallGroup
- type InternationalCore
- type LocalAccount
- type Oobe
- type Password
- type RunSynchronousCommand
- type Settings
- type ShellSetup
- type ShellSetupOobe
- type Unattend
- type UserAccounts
Constants ¶
View Source
const (
XmlHeader = `<?xml version="1.0" encoding="UTF-8"?>` + "\n"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateTagFile ¶
Types ¶
type AdministratorPassword ¶
type Component ¶
type Component struct {
XMLName xml.Name `xml:"component"`
Name string `xml:"name,attr"`
PublicKeyToken string `xml:"publicKeyToken,attr"`
Language string `xml:"language,attr"`
VersionScope string `xml:"versionScope,attr"`
ProcessorArchitecture string `xml:"processorArchitecture,attr"`
DoNotOpenInitialConfigurationTasksAtLogon string `xml:"DoNotOpenInitialConfigurationTasksAtLogon,omitempty"`
DoNotOpenServerManagerAtLogon string `xml:"DoNotOpenServerManagerAtLogon,omitempty"`
DenyTSConnections string `xml:"fDenyTSConnections,omitempty"`
FirewallGroups interface{} `xml:"FirewallGroups>FirewallGroup"`
ShellSetup `xml:"ShellSetup,omitempty"`
RunSynchronous interface{} `xml:"RunSynchronous>RunSynchronousCommand"`
InternationalCore `xml:"InternationalCore,omitempty"`
ShellSetupOobe `xml:"ShellSetupOobe,omitempty"`
}
type FirewallGroup ¶
type InternationalCore ¶
type LocalAccount ¶
type Oobe ¶
type Oobe struct {
XMLName xml.Name `xml:"OOBE,omitempty"`
HideEULAPage string `xml:"HideEULAPage,omitempty"`
HideLocalAccountScreen string `xml:"HideLocalAccountScreen,omitempty"`
SkipMachineOOBE string `xml:"SkipMachineOOBE,omitempty"`
SkipUserOOBE string `xml:"SkipUserOOBE,omitempty"`
NetworkLocation string `xml:"NetworkLocation,omitempty"`
ProtectYourPC string `xml:"ProtectYourPC,omitempty"`
HideWirelessSetupInOOBE string `xml:"HideWirelessSetupInOOBE,omitempty"`
}
type RunSynchronousCommand ¶
type RunSynchronousCommand struct {
XMLName xml.Name `xml:"RunSynchronousCommand,omitempty"`
WCMAction string `xml:"wcm:action,attr"`
Order string `xml:"Order,omitempty"`
Description string `xml:"Description,omitempty"`
Path string `xml:"Path,omitempty"`
WillReboot string `xml:"WillReboot,omitempty"`
}
type ShellSetup ¶
type ShellSetupOobe ¶
type Unattend ¶
type Unattend struct {
XMLName xml.Name `xml:"unattend"`
XMLns string `xml:"xmlns,attr"`
WCM string `xml:"xmlns:wcm,attr"`
Settings []Settings
}
func CreateUnattendObject ¶
func (*Unattend) SaveXmlFile ¶
type UserAccounts ¶
type UserAccounts struct {
XMLName xml.Name `xml:"UserAccounts,omitempty"`
LocalAccounts []LocalAccount `xml:"LocalAccounts>LocalAccount,omitempty"`
AdministratorPassword AdministratorPassword `xml:"AdministratorPassword,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.