Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomizationLicenseDataMode ¶
type CustomizationLicenseDataMode string
CustomizationLicenseDataMode is an enumeration of the different license modes.
+kubebuilder:validation:Enum=perSeat;perServer
const ( // CustomizationLicenseDataModePerSeat indicates that a client access // license has been purchased for each computer that accesses the // VirtualCenter server. CustomizationLicenseDataModePerSeat CustomizationLicenseDataMode = "perSeat" // CustomizationLicenseDataModePerServer indicates that client access // licenses have been purchased for the server, allowing a certain number of // concurrent connections to the VirtualCenter server. CustomizationLicenseDataModePerServer CustomizationLicenseDataMode = "perServer" )
type GUIRunOnce ¶
type GUIRunOnce struct {
// Commands is a list of commands to run at first user logon, after guest
// customization.
//
// +optional
Commands []string `json:"commands,omitempty"`
}
GUIRunOnce maps to the GuiRunOnce key in the sysprep.xml answer file.
func (*GUIRunOnce) DeepCopy ¶
func (in *GUIRunOnce) DeepCopy() *GUIRunOnce
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GUIRunOnce.
func (*GUIRunOnce) DeepCopyInto ¶
func (in *GUIRunOnce) DeepCopyInto(out *GUIRunOnce)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GUIUnattended ¶
type GUIUnattended struct {
// AutoLogon determine whether or not the machine automatically logs on as
// Administrator.
//
// Please note if AutoLogin is true, then Password must be set or guest
// customization will fail.
//
// +optional
AutoLogon bool `json:"autoLogon,omitempty"`
// AutoLogonCount specifies the number of times the machine should
// automatically log on as Administrator.
//
// Generally it should be 1, but if your setup requires a number of reboots,
// you may want to increase it. This number may be determined by the list of
// commands executed by the GuiRunOnce command.
//
// Please note this field only matters if AutoLogin is true.
//
// +optional
AutoLogonCount int32 `json:"autoLogonCount,omitempty"`
// Password is the new administrator password for the machine.
//
// To specify that the password should be set to blank (that is, no
// password), set the password value to NULL. Because of encryption, "" is
// NOT a valid value.
//
// Please note if the password is set to blank and AutoLogon is true, the
// guest customization will fail.
//
// If the XML file is generated by the VirtualCenter Customization Wizard,
// then the password is encrypted. Otherwise, the client should set the
// plainText attribute to true, so that the customization process does not
// attempt to decrypt the string.
//
// +optional
Password *common.SecretKeySelector `json:"password,omitempty"`
// TimeZone is the time zone index for the virtual machine.
//
// Please note that numbers correspond to time zones listed at
// https://bit.ly/3Rzv8oL.
//
// +optional
TimeZone int32 `json:"timeZone,omitempty"`
}
GUIUnattended maps to the GuiUnattended key in the sysprep.xml answer file.
func (*GUIUnattended) DeepCopy ¶
func (in *GUIUnattended) DeepCopy() *GUIUnattended
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GUIUnattended.
func (*GUIUnattended) DeepCopyInto ¶
func (in *GUIUnattended) DeepCopyInto(out *GUIUnattended)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Identification ¶
type Identification struct {
// DomainAdmin is the domain user account used for authentication if the
// virtual machine is joining a domain. The user does not need to be a
// domain administrator, but the account must have the privileges required
// to add computers to the domain.
//
// +optional
DomainAdmin string `json:"domainAdmin,omitempty"`
// DomainAdminPassword is the password for the domain user account used for
// authentication if the virtual machine is joining a domain.
//
// +optional
DomainAdminPassword *common.SecretKeySelector `json:"domainAdminPassword,omitempty"`
// JoinDomain is the domain that the virtual machine should join. If this
// value is supplied, then DomainAdmin and DomainAdminPassword must also be
// supplied, and the JoinWorkgroup name must be empty.
//
// +optional
JoinDomain string `json:"joinDomain,omitempty"`
// JoinWorkgroup is the workgroup that the virtual machine should join. If
// this value is supplied, then the JoinDomain and the authentication fields
// (DomainAdmin and DomainAdminPassword) must be empty.
//
// +optional
JoinWorkgroup string `json:"joinWorkgroup,omitempty"`
}
Identification maps to the Identification key in the sysprep.xml answer file and provides information needed to join a workgroup or domain.
func (*Identification) DeepCopy ¶
func (in *Identification) DeepCopy() *Identification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identification.
func (*Identification) DeepCopyInto ¶
func (in *Identification) DeepCopyInto(out *Identification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LicenseFilePrintData ¶
type LicenseFilePrintData struct {
// AutoMode specifies the server licensing mode.
AutoMode CustomizationLicenseDataMode `json:"autoMode"`
// AutoUsers indicates the number of client licenses purchased for the
// VirtualCenter server being installed.
//
// Please note this value is ignored unless AutoMode is PerServer.
//
// +optional
AutoUsers *int32 `json:"autoUsers,omitempty"`
}
LicenseFilePrintData maps to the LicenseFilePrintData key in the sysprep.xml answer file and provides information needed to join a workgroup or domain.
func (*LicenseFilePrintData) DeepCopy ¶
func (in *LicenseFilePrintData) DeepCopy() *LicenseFilePrintData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseFilePrintData.
func (*LicenseFilePrintData) DeepCopyInto ¶
func (in *LicenseFilePrintData) DeepCopyInto(out *LicenseFilePrintData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sysprep ¶
type Sysprep struct {
// GUIRunOnce is a representation of the Sysprep GuiRunOnce key.
//
// +optional
GUIRunOnce GUIRunOnce `json:"guiRunOnce,omitempty"`
// GUIUnattended is a representation of the Sysprep GUIUnattended key.
GUIUnattended GUIUnattended `json:"guiUnattended"`
// Identification is a representation of the Sysprep Identification key.
Identification Identification `json:"identification"`
// LicenseFilePrintData is a representation of the Sysprep
// LicenseFilePrintData key.
//
// Please note this is required only for Windows 2000 Server and Windows
// Server 2003.
//
// +optional
LicenseFilePrintData *LicenseFilePrintData `json:"licenseFilePrintData,omitempty"`
// UserData is a representation of the Sysprep UserData key.
UserData UserData `json:"userData"`
}
Sysprep describes the object representation of a Windows sysprep.xml answer file.
All fields and their values are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk.
For more detailed information, please see https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx.
func (*Sysprep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysprep.
func (*Sysprep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserData ¶
type UserData struct {
// FullName is the user's full name.
//
// +optional
FullName string `json:"fullName,omitempty"`
// OrgName is the name of the user's organization.
//
// +optional
OrgName string `json:"orgName,omitempty"`
// ProductID is a valid serial number.
//
// Please note unless the VirtualMachineImage was installed with a volume
// license key, ProductID must be set or guest customization will fail.
//
// +optional
ProductID *common.SecretKeySelector `json:"productID,omitempty"`
}
UserData maps to the UserData key in the sysprep.xml answer file and provides personal data pertaining to the owner of the virtual machine.
func (*UserData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserData.
func (*UserData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.