vsphere

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: MPL-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL