vsphere

package
v0.0.0-...-66695c0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 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

View Source
const (

	// NodePlatformTypeLabelKey and NodePlatformTypeLabelValueVSphere are the label the vSphere CCM applies
	// (via --node-labels, see additionalLabels below) to nodes when it first initializes them. They are
	// exported so that node.openshift.io/platform-type=vsphere can be reapplied to nodes that were
	// initialized before the VSphereMixedNodeEnv feature gate was enabled.
	NodePlatformTypeLabelKey          = "node.openshift.io/platform-type"
	NodePlatformTypeLabelValueVSphere = "vsphere"
	// NodeProviderIDPrefix is the spec.providerID prefix used by vSphere nodes, e.g. vsphere://4210e24f-...
	NodeProviderIDPrefix = "vsphere://"
)

Variables

This section is empty.

Functions

func CloudConfigTransformer

func CloudConfigTransformer(source string, infra *configv1.Infrastructure, network *configv1.Network, features featuregates.FeatureGate) (string, error)

CloudConfigTransformer takes the user-provided, legacy cloud provider-compatible configuration and modifies it to be compatible with the external cloud provider. Returns an error if the platform is not VSpherePlatformType or if any errors were encountered while attempting to transform a configuration. Currently, CloudConfigTransformer is responsible to populate vcenters, labels, and node networking parameters from the Infrastructure resource. Also, this function converts legacy deprecated INI configuration format to a YAML-based one.

func NewProviderAssets

func NewProviderAssets(config config.OperatorConfig) (common.CloudProviderAssets, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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