Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VSphereConfig ¶
type VSphereConfig struct {
// Server is the vCenter server hostname or IP address, exported as VSPHERE_SERVER.
Server *string `yaml:"server,omitempty"`
// User is the vCenter username, exported as VSPHERE_USER.
User *string `yaml:"user,omitempty"`
// Datacenter is the vSphere datacenter name for resource provisioning.
Datacenter *string `yaml:"datacenter,omitempty"`
// Cluster is the vSphere compute cluster name where VMs are scheduled.
Cluster *string `yaml:"cluster,omitempty"`
// Datastore is the vSphere datastore or datastore cluster name for VM disk placement.
Datastore *string `yaml:"datastore,omitempty"`
// Network is the default vSphere network/port group for VM interfaces.
Network *string `yaml:"network,omitempty"`
// ResourcePool is the default vSphere resource pool for VM placement.
ResourcePool *string `yaml:"resource_pool,omitempty"`
// Folder is the default vSphere folder path for VM inventory placement.
Folder *string `yaml:"folder,omitempty"`
// Insecure disables TLS certificate verification when connecting to vCenter.
// Exported as VSPHERE_ALLOW_UNVERIFIED_SSL.
Insecure *bool `yaml:"insecure,omitempty"`
}
VSphereConfig represents the vSphere configuration. vSphere integration activates whenever this block is present in a context (or when platform is "vsphere"); no separate enabled flag.
func (*VSphereConfig) DeepCopy ¶
func (c *VSphereConfig) DeepCopy() *VSphereConfig
DeepCopy creates a deep copy of the VSphereConfig object.
func (*VSphereConfig) Merge ¶
func (base *VSphereConfig) Merge(overlay *VSphereConfig)
Merge performs a deep merge of the current VSphereConfig with another VSphereConfig.
Click to show internal directories.
Click to hide internal directories.