v1alpha2

package
v0.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

cloudprovider_types contains API types for the vSphere cloud provider. The configuration may be unmarshalled from an INI-style configuration using the "gopkg.in/gcfg.v1" package.

The configuration may be marshalled to an INI-style configuration using a Go template.

The "gopkg.in/go-ini/ini.v1" package was investigated, but it does not support reflecting a struct with a field of type "map[string]TYPE" to INI.

Package v1alpha2 contains API Schema definitions for the infrastructure v1alpha2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-vsphere/api/v1alpha3

Index

Constants

View Source
const (
	// Version is the API version.
	Version = "v1alpha2"

	// GroupName is the name of the API group.
	GroupName = "infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// AnnotationClusterInfrastructureReady indicates the cluster's
	// infrastructure sources are ready and machines may be created.
	AnnotationClusterInfrastructureReady = "vsphere.infrastructure.cluster.x-k8s.io/infrastructure-ready"

	// AnnotationControlPlaneReady indicates the cluster's control plane is
	// ready.
	AnnotationControlPlaneReady = "vsphere.infrastructure.cluster.x-k8s.io/control-plane-ready"

	// ValueReady is the ready value for *Ready annotations.
	ValueReady = "true"
)
View Source
const (
	// VirtualMachineStateNotFound is the string representing a VM that
	// cannot be located.
	VirtualMachineStateNotFound VirtualMachineState = "notfound"

	// VirtualMachineStatePending is the string representing a VM with an in-flight task.
	VirtualMachineStatePending = "pending"

	// VirtualMachineStateReady is the string representing a powered-on VM with reported IP addresses.
	VirtualMachineStateReady = "ready"
)
View Source
const (
	// VirtualMachinePowerStatePoweredOn is the string representing a VM in powered on state
	VirtualMachinePowerStatePoweredOn VirtualMachinePowerState = "poweredOn"

	// VirtualMachinePowerStatePoweredOff is the string representing a VM in powered off state
	VirtualMachinePowerStatePoweredOff = "poweredOff"

	// VirtualMachinePowerStateSuspended is the string representing a VM in suspended state
	VirtualMachinePowerStateSuspended = "suspended"
)
View Source
const (
	// ClusterFinalizer allows ReconcileVSphereCluster to clean up vSphere
	// resources associated with VSphereCluster before removing it from the
	// API server.
	ClusterFinalizer = "vspherecluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// MachineFinalizer allows ReconcileVSphereMachine to clean up VSphere
	// resources associated with VSphereMachine before removing it from the
	// API Server.
	MachineFinalizer = "vspheremachine.infrastructure.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Convert_v1alpha2_APIEndpoint_To_v1alpha3_APIEndpoint added in v0.6.0

func Convert_v1alpha2_APIEndpoint_To_v1alpha3_APIEndpoint(in *APIEndpoint, out *v1alpha3.APIEndpoint, s conversion.Scope) error

Convert_v1alpha2_APIEndpoint_To_v1alpha3_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha2_CPICloudConfig_To_v1alpha3_CPICloudConfig added in v0.6.0

func Convert_v1alpha2_CPICloudConfig_To_v1alpha3_CPICloudConfig(in *CPICloudConfig, out *v1alpha3.CPICloudConfig, s apiconversion.Scope) error

Convert_v1alpha2_CPICloudConfig_To_v1alpha3_CPICloudConfig converts VSphereCluster.Spec.CloudProviderConfiguration.ProviderConfig.Cloud from v1alpha2 to v1alpha3.

func Convert_v1alpha2_CPIConfig_To_v1alpha3_CPIConfig added in v0.6.0

func Convert_v1alpha2_CPIConfig_To_v1alpha3_CPIConfig(in *CPIConfig, out *v1alpha3.CPIConfig, s conversion.Scope) error

Convert_v1alpha2_CPIConfig_To_v1alpha3_CPIConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIDiskConfig_To_v1alpha3_CPIDiskConfig added in v0.6.0

func Convert_v1alpha2_CPIDiskConfig_To_v1alpha3_CPIDiskConfig(in *CPIDiskConfig, out *v1alpha3.CPIDiskConfig, s conversion.Scope) error

Convert_v1alpha2_CPIDiskConfig_To_v1alpha3_CPIDiskConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIGlobalConfig_To_v1alpha3_CPIGlobalConfig added in v0.6.0

func Convert_v1alpha2_CPIGlobalConfig_To_v1alpha3_CPIGlobalConfig(in *CPIGlobalConfig, out *v1alpha3.CPIGlobalConfig, s conversion.Scope) error

Convert_v1alpha2_CPIGlobalConfig_To_v1alpha3_CPIGlobalConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPILabelConfig_To_v1alpha3_CPILabelConfig added in v0.6.0

func Convert_v1alpha2_CPILabelConfig_To_v1alpha3_CPILabelConfig(in *CPILabelConfig, out *v1alpha3.CPILabelConfig, s conversion.Scope) error

Convert_v1alpha2_CPILabelConfig_To_v1alpha3_CPILabelConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPINetworkConfig_To_v1alpha3_CPINetworkConfig added in v0.6.0

func Convert_v1alpha2_CPINetworkConfig_To_v1alpha3_CPINetworkConfig(in *CPINetworkConfig, out *v1alpha3.CPINetworkConfig, s conversion.Scope) error

Convert_v1alpha2_CPINetworkConfig_To_v1alpha3_CPINetworkConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIProviderConfig_To_v1alpha3_CPIProviderConfig added in v0.6.0

func Convert_v1alpha2_CPIProviderConfig_To_v1alpha3_CPIProviderConfig(in *CPIProviderConfig, out *v1alpha3.CPIProviderConfig, s conversion.Scope) error

Convert_v1alpha2_CPIProviderConfig_To_v1alpha3_CPIProviderConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIStorageConfig_To_v1alpha3_CPIStorageConfig added in v0.6.0

func Convert_v1alpha2_CPIStorageConfig_To_v1alpha3_CPIStorageConfig(in *CPIStorageConfig, out *v1alpha3.CPIStorageConfig, s conversion.Scope) error

Convert_v1alpha2_CPIStorageConfig_To_v1alpha3_CPIStorageConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIVCenterConfig_To_v1alpha3_CPIVCenterConfig added in v0.6.0

func Convert_v1alpha2_CPIVCenterConfig_To_v1alpha3_CPIVCenterConfig(in *CPIVCenterConfig, out *v1alpha3.CPIVCenterConfig, s conversion.Scope) error

Convert_v1alpha2_CPIVCenterConfig_To_v1alpha3_CPIVCenterConfig is an autogenerated conversion function.

func Convert_v1alpha2_CPIWorkspaceConfig_To_v1alpha3_CPIWorkspaceConfig added in v0.6.0

func Convert_v1alpha2_CPIWorkspaceConfig_To_v1alpha3_CPIWorkspaceConfig(in *CPIWorkspaceConfig, out *v1alpha3.CPIWorkspaceConfig, s conversion.Scope) error

Convert_v1alpha2_CPIWorkspaceConfig_To_v1alpha3_CPIWorkspaceConfig is an autogenerated conversion function.

func Convert_v1alpha2_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec added in v0.6.0

func Convert_v1alpha2_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec(in *NetworkDeviceSpec, out *v1alpha3.NetworkDeviceSpec, s conversion.Scope) error

Convert_v1alpha2_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec is an autogenerated conversion function.

func Convert_v1alpha2_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec added in v0.6.0

func Convert_v1alpha2_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec(in *NetworkRouteSpec, out *v1alpha3.NetworkRouteSpec, s conversion.Scope) error

Convert_v1alpha2_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec is an autogenerated conversion function.

func Convert_v1alpha2_NetworkSpec_To_v1alpha3_NetworkSpec added in v0.6.0

func Convert_v1alpha2_NetworkSpec_To_v1alpha3_NetworkSpec(in *NetworkSpec, out *v1alpha3.NetworkSpec, s conversion.Scope) error

Convert_v1alpha2_NetworkSpec_To_v1alpha3_NetworkSpec is an autogenerated conversion function.

func Convert_v1alpha2_NetworkStatus_To_v1alpha3_NetworkStatus added in v0.6.0

func Convert_v1alpha2_NetworkStatus_To_v1alpha3_NetworkStatus(in *NetworkStatus, out *v1alpha3.NetworkStatus, s conversion.Scope) error

Convert_v1alpha2_NetworkStatus_To_v1alpha3_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha2_VSphereClusterList_To_v1alpha3_VSphereClusterList added in v0.6.0

func Convert_v1alpha2_VSphereClusterList_To_v1alpha3_VSphereClusterList(in *VSphereClusterList, out *v1alpha3.VSphereClusterList, s conversion.Scope) error

Convert_v1alpha2_VSphereClusterList_To_v1alpha3_VSphereClusterList is an autogenerated conversion function.

func Convert_v1alpha2_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec added in v0.6.0

func Convert_v1alpha2_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec(in *VSphereClusterSpec, out *v1alpha3.VSphereClusterSpec, s conversion.Scope) error

Convert_v1alpha2_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec is an autogenerated conversion function.

func Convert_v1alpha2_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus added in v0.6.0

func Convert_v1alpha2_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus(in *VSphereClusterStatus, out *infrav1alpha3.VSphereClusterStatus, s apiconversion.Scope) error

Convert_v1alpha2_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus converts VSphereCluster.Status from v1alpha2 to v1alpha3.

func Convert_v1alpha2_VSphereCluster_To_v1alpha3_VSphereCluster added in v0.6.0

func Convert_v1alpha2_VSphereCluster_To_v1alpha3_VSphereCluster(in *VSphereCluster, out *v1alpha3.VSphereCluster, s conversion.Scope) error

Convert_v1alpha2_VSphereCluster_To_v1alpha3_VSphereCluster is an autogenerated conversion function.

func Convert_v1alpha2_VSphereMachineList_To_v1alpha3_VSphereMachineList added in v0.6.0

func Convert_v1alpha2_VSphereMachineList_To_v1alpha3_VSphereMachineList(in *VSphereMachineList, out *v1alpha3.VSphereMachineList, s conversion.Scope) error

Convert_v1alpha2_VSphereMachineList_To_v1alpha3_VSphereMachineList is an autogenerated conversion function.

func Convert_v1alpha2_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec added in v0.6.0

func Convert_v1alpha2_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec(in *VSphereMachineSpec, out *infrav1alpha3.VSphereMachineSpec, s apiconversion.Scope) error

Convert_v1alpha2_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec converts this VSphereMachineSpec to the Hub version (v1alpha3).

func Convert_v1alpha2_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus added in v0.6.0

func Convert_v1alpha2_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus(in *VSphereMachineStatus, out *infrav1alpha3.VSphereMachineStatus, s apiconversion.Scope) error

Convert_v1alpha2_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus converts this VSphereMachineStatus to the Hub version (v1alpha3).

func Convert_v1alpha2_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList added in v0.6.0

func Convert_v1alpha2_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList(in *VSphereMachineTemplateList, out *v1alpha3.VSphereMachineTemplateList, s conversion.Scope) error

Convert_v1alpha2_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha2_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource added in v0.6.0

func Convert_v1alpha2_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource(in *VSphereMachineTemplateResource, out *infrav1alpha3.VSphereMachineTemplateResource, s apiconversion.Scope) error

Convert_v1alpha2_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource converts VSphereMachineTemplateResource from v1alpha2 to v1alpha3.

func Convert_v1alpha2_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec added in v0.6.0

func Convert_v1alpha2_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec(in *VSphereMachineTemplateSpec, out *v1alpha3.VSphereMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha2_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha2_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate added in v0.6.0

func Convert_v1alpha2_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate(in *VSphereMachineTemplate, out *v1alpha3.VSphereMachineTemplate, s conversion.Scope) error

Convert_v1alpha2_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha2_VSphereMachine_To_v1alpha3_VSphereMachine added in v0.6.0

func Convert_v1alpha2_VSphereMachine_To_v1alpha3_VSphereMachine(in *VSphereMachine, out *v1alpha3.VSphereMachine, s conversion.Scope) error

Convert_v1alpha2_VSphereMachine_To_v1alpha3_VSphereMachine is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachine_To_v1alpha3_VirtualMachine added in v0.6.0

func Convert_v1alpha2_VirtualMachine_To_v1alpha3_VirtualMachine(in *VirtualMachine, out *v1alpha3.VirtualMachine, s conversion.Scope) error

Convert_v1alpha2_VirtualMachine_To_v1alpha3_VirtualMachine is an autogenerated conversion function.

func Convert_v1alpha3_APIEndpoint_To_v1alpha2_APIEndpoint added in v0.6.0

func Convert_v1alpha3_APIEndpoint_To_v1alpha2_APIEndpoint(in *v1alpha3.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_v1alpha3_APIEndpoint_To_v1alpha2_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha3_CPICloudConfig_To_v1alpha2_CPICloudConfig added in v0.6.0

func Convert_v1alpha3_CPICloudConfig_To_v1alpha2_CPICloudConfig(in *v1alpha3.CPICloudConfig, out *CPICloudConfig, s apiconversion.Scope) error

Convert_v1alpha3_CPICloudConfig_To_v1alpha2_CPICloudConfig converts VSphereCluster.Spec.CloudProviderConfiguration.ProviderConfig.Cloud from v1alpha3 to v1alpha2.

func Convert_v1alpha3_CPIConfig_To_v1alpha2_CPIConfig added in v0.6.0

func Convert_v1alpha3_CPIConfig_To_v1alpha2_CPIConfig(in *v1alpha3.CPIConfig, out *CPIConfig, s conversion.Scope) error

Convert_v1alpha3_CPIConfig_To_v1alpha2_CPIConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIDiskConfig_To_v1alpha2_CPIDiskConfig added in v0.6.0

func Convert_v1alpha3_CPIDiskConfig_To_v1alpha2_CPIDiskConfig(in *v1alpha3.CPIDiskConfig, out *CPIDiskConfig, s conversion.Scope) error

Convert_v1alpha3_CPIDiskConfig_To_v1alpha2_CPIDiskConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIGlobalConfig_To_v1alpha2_CPIGlobalConfig added in v0.6.0

func Convert_v1alpha3_CPIGlobalConfig_To_v1alpha2_CPIGlobalConfig(in *v1alpha3.CPIGlobalConfig, out *CPIGlobalConfig, s conversion.Scope) error

Convert_v1alpha3_CPIGlobalConfig_To_v1alpha2_CPIGlobalConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPILabelConfig_To_v1alpha2_CPILabelConfig added in v0.6.0

func Convert_v1alpha3_CPILabelConfig_To_v1alpha2_CPILabelConfig(in *v1alpha3.CPILabelConfig, out *CPILabelConfig, s conversion.Scope) error

Convert_v1alpha3_CPILabelConfig_To_v1alpha2_CPILabelConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPINetworkConfig_To_v1alpha2_CPINetworkConfig added in v0.6.0

func Convert_v1alpha3_CPINetworkConfig_To_v1alpha2_CPINetworkConfig(in *v1alpha3.CPINetworkConfig, out *CPINetworkConfig, s conversion.Scope) error

Convert_v1alpha3_CPINetworkConfig_To_v1alpha2_CPINetworkConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIProviderConfig_To_v1alpha2_CPIProviderConfig added in v0.6.0

func Convert_v1alpha3_CPIProviderConfig_To_v1alpha2_CPIProviderConfig(in *v1alpha3.CPIProviderConfig, out *CPIProviderConfig, s conversion.Scope) error

Convert_v1alpha3_CPIProviderConfig_To_v1alpha2_CPIProviderConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIStorageConfig_To_v1alpha2_CPIStorageConfig added in v0.6.0

func Convert_v1alpha3_CPIStorageConfig_To_v1alpha2_CPIStorageConfig(in *v1alpha3.CPIStorageConfig, out *CPIStorageConfig, s conversion.Scope) error

Convert_v1alpha3_CPIStorageConfig_To_v1alpha2_CPIStorageConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIVCenterConfig_To_v1alpha2_CPIVCenterConfig added in v0.6.0

func Convert_v1alpha3_CPIVCenterConfig_To_v1alpha2_CPIVCenterConfig(in *v1alpha3.CPIVCenterConfig, out *CPIVCenterConfig, s conversion.Scope) error

Convert_v1alpha3_CPIVCenterConfig_To_v1alpha2_CPIVCenterConfig is an autogenerated conversion function.

func Convert_v1alpha3_CPIWorkspaceConfig_To_v1alpha2_CPIWorkspaceConfig added in v0.6.0

func Convert_v1alpha3_CPIWorkspaceConfig_To_v1alpha2_CPIWorkspaceConfig(in *v1alpha3.CPIWorkspaceConfig, out *CPIWorkspaceConfig, s conversion.Scope) error

Convert_v1alpha3_CPIWorkspaceConfig_To_v1alpha2_CPIWorkspaceConfig is an autogenerated conversion function.

func Convert_v1alpha3_NetworkDeviceSpec_To_v1alpha2_NetworkDeviceSpec added in v0.6.0

func Convert_v1alpha3_NetworkDeviceSpec_To_v1alpha2_NetworkDeviceSpec(in *v1alpha3.NetworkDeviceSpec, out *NetworkDeviceSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkDeviceSpec_To_v1alpha2_NetworkDeviceSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkRouteSpec_To_v1alpha2_NetworkRouteSpec added in v0.6.0

func Convert_v1alpha3_NetworkRouteSpec_To_v1alpha2_NetworkRouteSpec(in *v1alpha3.NetworkRouteSpec, out *NetworkRouteSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkRouteSpec_To_v1alpha2_NetworkRouteSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkSpec_To_v1alpha2_NetworkSpec added in v0.6.0

func Convert_v1alpha3_NetworkSpec_To_v1alpha2_NetworkSpec(in *v1alpha3.NetworkSpec, out *NetworkSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkSpec_To_v1alpha2_NetworkSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkStatus_To_v1alpha2_NetworkStatus added in v0.6.0

func Convert_v1alpha3_NetworkStatus_To_v1alpha2_NetworkStatus(in *v1alpha3.NetworkStatus, out *NetworkStatus, s conversion.Scope) error

Convert_v1alpha3_NetworkStatus_To_v1alpha2_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterList_To_v1alpha2_VSphereClusterList added in v0.6.0

func Convert_v1alpha3_VSphereClusterList_To_v1alpha2_VSphereClusterList(in *v1alpha3.VSphereClusterList, out *VSphereClusterList, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterList_To_v1alpha2_VSphereClusterList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterSpec_To_v1alpha2_VSphereClusterSpec added in v0.6.0

func Convert_v1alpha3_VSphereClusterSpec_To_v1alpha2_VSphereClusterSpec(in *infrav1alpha3.VSphereClusterSpec, out *VSphereClusterSpec, s apiconversion.Scope) error

Convert_v1alpha3_VSphereClusterSpec_To_v1alpha2_VSphereClusterSpec converts from the Hub version (v1alpha3) of the VSphereClusterSpec to this version. Requires manual conversion as infrav1alpha3.VSphereClusterSpec.LoadBalancerRef does not exist in VSphereClusterSpec.

func Convert_v1alpha3_VSphereClusterStatus_To_v1alpha2_VSphereClusterStatus added in v0.6.0

func Convert_v1alpha3_VSphereClusterStatus_To_v1alpha2_VSphereClusterStatus(in *v1alpha3.VSphereClusterStatus, out *VSphereClusterStatus, s apiconversion.Scope) error

Convert_v1alpha3_VSphereClusterStatus_To_v1alpha2_VSphereClusterStatus converts VSphereCluster.Status from v1alpha3 to v1alpha2. Requires manual conversion as infrav1alpha3.VSphereClusterStatus.Conditions does not exist in VSphereClusterSpec.

func Convert_v1alpha3_VSphereCluster_To_v1alpha2_VSphereCluster added in v0.6.0

func Convert_v1alpha3_VSphereCluster_To_v1alpha2_VSphereCluster(in *v1alpha3.VSphereCluster, out *VSphereCluster, s conversion.Scope) error

Convert_v1alpha3_VSphereCluster_To_v1alpha2_VSphereCluster is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineList_To_v1alpha2_VSphereMachineList added in v0.6.0

func Convert_v1alpha3_VSphereMachineList_To_v1alpha2_VSphereMachineList(in *v1alpha3.VSphereMachineList, out *VSphereMachineList, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineList_To_v1alpha2_VSphereMachineList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineSpec_To_v1alpha2_VSphereMachineSpec added in v0.6.0

func Convert_v1alpha3_VSphereMachineSpec_To_v1alpha2_VSphereMachineSpec(in *infrav1alpha3.VSphereMachineSpec, out *VSphereMachineSpec, s apiconversion.Scope) error

Convert_v1alpha3_VSphereMachineSpec_To_v1alpha2_VSphereMachineSpec converts from the Hub version (v1alpha3) of the VSphereMachineSpec to this version.

func Convert_v1alpha3_VSphereMachineStatus_To_v1alpha2_VSphereMachineStatus added in v0.6.0

func Convert_v1alpha3_VSphereMachineStatus_To_v1alpha2_VSphereMachineStatus(in *infrav1alpha3.VSphereMachineStatus, out *VSphereMachineStatus, s apiconversion.Scope) error

Convert_v1alpha3_VSphereMachineStatus_To_v1alpha2_VSphereMachineStatus converts from the Hub version (v1alpha3) of the VSphereMachineStatus to this version.

func Convert_v1alpha3_VSphereMachineTemplateList_To_v1alpha2_VSphereMachineTemplateList added in v0.6.0

func Convert_v1alpha3_VSphereMachineTemplateList_To_v1alpha2_VSphereMachineTemplateList(in *v1alpha3.VSphereMachineTemplateList, out *VSphereMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateList_To_v1alpha2_VSphereMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplateResource_To_v1alpha2_VSphereMachineTemplateResource added in v0.6.0

func Convert_v1alpha3_VSphereMachineTemplateResource_To_v1alpha2_VSphereMachineTemplateResource(in *v1alpha3.VSphereMachineTemplateResource, out *VSphereMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateResource_To_v1alpha2_VSphereMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1alpha2_VSphereMachineTemplateSpec added in v0.6.0

func Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1alpha2_VSphereMachineTemplateSpec(in *v1alpha3.VSphereMachineTemplateSpec, out *VSphereMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1alpha2_VSphereMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplate_To_v1alpha2_VSphereMachineTemplate added in v0.6.0

func Convert_v1alpha3_VSphereMachineTemplate_To_v1alpha2_VSphereMachineTemplate(in *v1alpha3.VSphereMachineTemplate, out *VSphereMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplate_To_v1alpha2_VSphereMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachine_To_v1alpha2_VSphereMachine added in v0.6.0

func Convert_v1alpha3_VSphereMachine_To_v1alpha2_VSphereMachine(in *v1alpha3.VSphereMachine, out *VSphereMachine, s conversion.Scope) error

Convert_v1alpha3_VSphereMachine_To_v1alpha2_VSphereMachine is an autogenerated conversion function.

func Convert_v1alpha3_VirtualMachine_To_v1alpha2_VirtualMachine added in v0.6.0

func Convert_v1alpha3_VirtualMachine_To_v1alpha2_VirtualMachine(in *v1alpha3.VirtualMachine, out *VirtualMachine, s conversion.Scope) error

Convert_v1alpha3_VirtualMachine_To_v1alpha2_VirtualMachine is an autogenerated conversion function.

func RegisterConversions added in v0.6.0

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type APIEndpoint

type APIEndpoint struct {
	// The hostname on which the API server is serving.
	Host string `json:"host"`

	// The port on which the API server is serving.
	Port int `json:"port"`
}

APIEndpoint represents a reachable Kubernetes API endpoint.

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPICloudConfig added in v0.6.0

type CPICloudConfig struct {
	ControllerImage string `json:"controllerImage,omitempty"`
}

func (*CPICloudConfig) DeepCopy added in v0.6.0

func (in *CPICloudConfig) DeepCopy() *CPICloudConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPICloudConfig.

func (*CPICloudConfig) DeepCopyInto added in v0.6.0

func (in *CPICloudConfig) DeepCopyInto(out *CPICloudConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIConfig added in v0.6.0

type CPIConfig struct {
	// Global is the vSphere cloud provider's global configuration.
	// +optional
	Global CPIGlobalConfig `gcfg:"Global,omitempty" json:"global,omitempty"`

	// VCenter is a list of vCenter configurations.
	// +optional
	VCenter map[string]CPIVCenterConfig `gcfg:"VirtualCenter,omitempty" json:"virtualCenter,omitempty"`

	// Network is the vSphere cloud provider's network configuration.
	// +optional
	Network CPINetworkConfig `gcfg:"Network,omitempty" json:"network,omitempty"`

	// Disk is the vSphere cloud provider's disk configuration.
	// +optional
	Disk CPIDiskConfig `gcfg:"Disk,omitempty" json:"disk,omitempty"`

	// Workspace is the vSphere cloud provider's workspace configuration.
	// +optional
	Workspace CPIWorkspaceConfig `gcfg:"Workspace,omitempty" json:"workspace,omitempty"`

	// Labels is the vSphere cloud provider's zone and region configuration.
	// +optional
	Labels CPILabelConfig `gcfg:"Labels,omitempty" json:"labels,omitempty"`

	// CPIProviderConfig contains extra information used to configure the
	// vSphere cloud provider.
	ProviderConfig CPIProviderConfig `json:"providerConfig,omitempty"`
}

CPIConfig is the vSphere cloud provider's configuration.

func (*CPIConfig) DeepCopy added in v0.6.0

func (in *CPIConfig) DeepCopy() *CPIConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIConfig.

func (*CPIConfig) DeepCopyInto added in v0.6.0

func (in *CPIConfig) DeepCopyInto(out *CPIConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIDiskConfig added in v0.6.0

type CPIDiskConfig struct {
	// SCSIControllerType defines SCSI controller to be used.
	// +optional
	SCSIControllerType string `gcfg:"scsicontrollertype,omitempty" json:"scsiControllerType,omitempty"`
}

CPIDiskConfig defines the disk configuration for the vSphere cloud provider.

func (*CPIDiskConfig) DeepCopy added in v0.6.0

func (in *CPIDiskConfig) DeepCopy() *CPIDiskConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIDiskConfig.

func (*CPIDiskConfig) DeepCopyInto added in v0.6.0

func (in *CPIDiskConfig) DeepCopyInto(out *CPIDiskConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIGlobalConfig added in v0.6.0

type CPIGlobalConfig struct {
	// Insecure is a flag that disables TLS peer verification.
	// +optional
	Insecure bool `gcfg:"insecure-flag,omitempty" json:"insecure,omitempty"`

	// RoundTripperCount specifies the SOAP round tripper count
	// (retries = RoundTripper - 1)
	// +optional
	RoundTripperCount int32 `gcfg:"soap-roundtrip-count,omitempty" json:"roundTripperCount,omitempty"`

	// Username is the username used to access a vSphere endpoint.
	// +optional
	Username string `gcfg:"user,omitempty" json:"username,omitempty"`

	// Password is the password used to access a vSphere endpoint.
	// +optional
	Password string `gcfg:"password,omitempty" json:"password,omitempty"`

	// SecretName is the name of the Kubernetes secret in which the vSphere
	// credentials are located.
	// +optional
	SecretName string `gcfg:"secret-name,omitempty" json:"secretName,omitempty"`

	// SecretNamespace is the namespace for SecretName.
	// +optional
	SecretNamespace string `gcfg:"secret-namespace,omitempty" json:"secretNamespace,omitempty"`

	// Port is the port on which the vSphere endpoint is listening.
	// Defaults to 443.
	// +optional
	Port string `gcfg:"port,omitempty" json:"port,omitempty"`

	// CAFile Specifies the path to a CA certificate in PEM format.
	// If not configured, the system's CA certificates will be used.
	// +optional
	CAFile string `gcfg:"ca-file,omitempty" json:"caFile,omitempty"`

	// Thumbprint is the cryptographic thumbprint of the vSphere endpoint's
	// certificate.
	// +optional
	Thumbprint string `gcfg:"thumbprint,omitempty" json:"thumbprint,omitempty"`

	// Datacenters is a CSV string of the datacenters in which VMs are located.
	// +optional
	Datacenters string `gcfg:"datacenters,omitempty" json:"datacenters,omitempty"`

	// ServiceAccount is the Kubernetes service account used to launch the cloud
	// controller manager.
	// Defaults to cloud-controller-manager.
	// +optional
	ServiceAccount string `gcfg:"service-account,omitempty" json:"serviceAccount,omitempty"`

	// SecretsDirectory is a directory in which secrets may be found. This
	// may used in the event that:
	// 1. It is not desirable to use the K8s API to watch changes to secrets
	// 2. The cloud controller manager is not running in a K8s environment,
	//    such as DC/OS. For example, the container storage interface (CSI) is
	//    container orcehstrator (CO) agnostic, and should support non-K8s COs.
	// Defaults to /etc/cloud/credentials.
	// +optional
	SecretsDirectory string `gcfg:"secrets-directory,omitempty" json:"secretsDirectory,omitempty"`

	// APIDisable disables the vSphere cloud controller manager API.
	// Defaults to true.
	// +optional
	APIDisable *bool `gcfg:"api-disable,omitempty" json:"apiDisable,omitempty"`

	// APIBindPort configures the vSphere cloud controller manager API port.
	// Defaults to 43001.
	// +optional
	APIBindPort string `gcfg:"api-binding,omitempty" json:"apiBindPort,omitempty"`

	// ClusterID is a unique identifier for a cluster used by the vSphere CSI driver (CNS)
	// NOTE: This field is set internally by CAPV and should not be set by any other consumer of this API
	ClusterID string `gcfg:"cluster-id,omitempty" json:"-"`
}

CPIGlobalConfig is the vSphere cloud provider's global configuration.

func (*CPIGlobalConfig) DeepCopy added in v0.6.0

func (in *CPIGlobalConfig) DeepCopy() *CPIGlobalConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIGlobalConfig.

func (*CPIGlobalConfig) DeepCopyInto added in v0.6.0

func (in *CPIGlobalConfig) DeepCopyInto(out *CPIGlobalConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPILabelConfig added in v0.6.0

type CPILabelConfig struct {
	// Zone is the zone in which VMs are created/located.
	// +optional
	Zone string `gcfg:"zone,omitempty" json:"zone,omitempty"`

	// Region is the region in which VMs are created/located.
	// +optional
	Region string `gcfg:"region,omitempty" json:"region,omitempty"`
}

CPILabelConfig defines the categories and tags which correspond to built-in node labels, zone and region.

func (*CPILabelConfig) DeepCopy added in v0.6.0

func (in *CPILabelConfig) DeepCopy() *CPILabelConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPILabelConfig.

func (*CPILabelConfig) DeepCopyInto added in v0.6.0

func (in *CPILabelConfig) DeepCopyInto(out *CPILabelConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPINetworkConfig added in v0.6.0

type CPINetworkConfig struct {
	// Name is the name of the network to which VMs are connected.
	// +optional
	Name string `gcfg:"public-network,omitempty" json:"name,omitempty"`
}

CPINetworkConfig is the network configuration for the vSphere cloud provider.

func (*CPINetworkConfig) DeepCopy added in v0.6.0

func (in *CPINetworkConfig) DeepCopy() *CPINetworkConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPINetworkConfig.

func (*CPINetworkConfig) DeepCopyInto added in v0.6.0

func (in *CPINetworkConfig) DeepCopyInto(out *CPINetworkConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIProviderConfig added in v0.6.0

type CPIProviderConfig struct {
	Cloud   *CPICloudConfig   `json:"cloud,omitempty"`
	Storage *CPIStorageConfig `json:"storage,omitempty"`
}

CPIProviderConfig defines any extra information used to configure the vSphere external cloud provider

func (*CPIProviderConfig) DeepCopy added in v0.6.0

func (in *CPIProviderConfig) DeepCopy() *CPIProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIProviderConfig.

func (*CPIProviderConfig) DeepCopyInto added in v0.6.0

func (in *CPIProviderConfig) DeepCopyInto(out *CPIProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIStorageConfig added in v0.6.0

type CPIStorageConfig struct {
	ControllerImage     string `json:"controllerImage,omitempty"`
	NodeDriverImage     string `json:"nodeDriverImage,omitempty"`
	AttacherImage       string `json:"attacherImage,omitempty"`
	ProvisionerImage    string `json:"provisionerImage,omitempty"`
	MetadataSyncerImage string `json:"metadataSyncerImage,omitempty"`
	LivenessProbeImage  string `json:"livenessProbeImage,omitempty"`
	RegistrarImage      string `json:"registrarImage,omitempty"`
}

func (*CPIStorageConfig) DeepCopy added in v0.6.0

func (in *CPIStorageConfig) DeepCopy() *CPIStorageConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIStorageConfig.

func (*CPIStorageConfig) DeepCopyInto added in v0.6.0

func (in *CPIStorageConfig) DeepCopyInto(out *CPIStorageConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIVCenterConfig added in v0.6.0

type CPIVCenterConfig struct {
	// Username is the username used to access a vSphere endpoint.
	// +optional
	Username string `gcfg:"user,omitempty" json:"username,omitempty"`

	// Password is the password used to access a vSphere endpoint.
	// +optional
	Password string `gcfg:"password,omitempty" json:"password,omitempty"`

	// Port is the port on which the vSphere endpoint is listening.
	// Defaults to 443.
	// +optional
	Port string `gcfg:"port,omitempty" json:"port,omitempty"`

	// Datacenters is a CSV string of the datacenters in which VMs are located.
	// +optional
	Datacenters string `gcfg:"datacenters,omitempty" json:"datacenters,omitempty"`

	// RoundTripperCount specifies the SOAP round tripper count
	// (retries = RoundTripper - 1)
	// +optional
	RoundTripperCount int32 `gcfg:"soap-roundtrip-count,omitempty" json:"roundTripperCount,omitempty"`

	// Thumbprint is the cryptographic thumbprint of the vSphere endpoint's
	// certificate.
	// +optional
	Thumbprint string `gcfg:"thumbprint,omitempty" json:"thumbprint,omitempty"`
}

CPIVCenterConfig is a vSphere cloud provider's vCenter configuration.

func (*CPIVCenterConfig) DeepCopy added in v0.6.0

func (in *CPIVCenterConfig) DeepCopy() *CPIVCenterConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIVCenterConfig.

func (*CPIVCenterConfig) DeepCopyInto added in v0.6.0

func (in *CPIVCenterConfig) DeepCopyInto(out *CPIVCenterConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPIWorkspaceConfig added in v0.6.0

type CPIWorkspaceConfig struct {
	// Server is the IP address or FQDN of the vSphere endpoint.
	// +optional
	Server string `gcfg:"server,omitempty" json:"server,omitempty"`

	// Datacenter is the datacenter in which VMs are created/located.
	// +optional
	Datacenter string `gcfg:"datacenter,omitempty" json:"datacenter,omitempty"`

	// Folder is the folder in which VMs are created/located.
	// +optional
	Folder string `gcfg:"folder,omitempty" json:"folder,omitempty"`

	// Datastore is the datastore in which VMs are created/located.
	// +optional
	Datastore string `gcfg:"default-datastore,omitempty" json:"datastore,omitempty"`

	// ResourcePool is the resource pool in which VMs are created/located.
	// +optional
	ResourcePool string `gcfg:"resourcepool-path,omitempty" json:"resourcePool,omitempty"`
}

CPIWorkspaceConfig defines a workspace configuration for the vSphere cloud provider.

func (*CPIWorkspaceConfig) DeepCopy added in v0.6.0

func (in *CPIWorkspaceConfig) DeepCopy() *CPIWorkspaceConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPIWorkspaceConfig.

func (*CPIWorkspaceConfig) DeepCopyInto added in v0.6.0

func (in *CPIWorkspaceConfig) DeepCopyInto(out *CPIWorkspaceConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkDeviceSpec

type NetworkDeviceSpec struct {
	// NetworkName is the name of the vSphere network to which the device
	// will be connected.
	NetworkName string `json:"networkName"`

	// DeviceName may be used to explicitly assign a name to the network device
	// as it exists in the guest operating system.
	// +optional
	DeviceName string `json:"deviceName,omitempty"`

	// DHCP4 is a flag that indicates whether or not to use DHCP for IPv4
	// on this device.
	// If true then IPAddrs should not contain any IPv4 addresses.
	// +optional
	DHCP4 bool `json:"dhcp4,omitempty"`

	// DHCP6 is a flag that indicates whether or not to use DHCP for IPv6
	// on this device.
	// If true then IPAddrs should not contain any IPv6 addresses.
	// +optional
	DHCP6 bool `json:"dhcp6,omitempty"`

	// Gateway4 is the IPv4 gateway used by this device.
	// Required when DHCP4 is false.
	// +optional
	Gateway4 string `json:"gateway4,omitempty"`

	// Gateway4 is the IPv4 gateway used by this device.
	// Required when DHCP6 is false.
	// +optional
	Gateway6 string `json:"gateway6,omitempty"`

	// IPAddrs is a list of one or more IPv4 and/or IPv6 addresses to assign
	// to this device.
	// Required when DHCP4 and DHCP6 are both false.
	// +optional
	IPAddrs []string `json:"ipAddrs,omitempty"`

	// MTU is the device’s Maximum Transmission Unit size in bytes.
	// +optional
	MTU *int64 `json:"mtu,omitempty"`

	// MACAddr is the MAC address used by this device.
	// It is generally a good idea to omit this field and allow a MAC address
	// to be generated.
	// Please note that this value must use the VMware OUI to work with the
	// in-tree vSphere cloud provider.
	// +optional
	MACAddr string `json:"macAddr,omitempty"`

	// Nameservers is a list of IPv4 and/or IPv6 addresses used as DNS
	// nameservers.
	// Please note that Linux allows only three nameservers (https://linux.die.net/man/5/resolv.conf).
	// +optional
	Nameservers []string `json:"nameservers,omitempty"`

	// Routes is a list of optional, static routes applied to the device.
	// +optional
	Routes []NetworkRouteSpec `json:"routes,omitempty"`

	// SearchDomains is a list of search domains used when resolving IP
	// addresses with DNS.
	// +optional
	SearchDomains []string `json:"searchDomains,omitempty"`
}

NetworkDeviceSpec defines the network configuration for a virtual machine's network device.

func (*NetworkDeviceSpec) DeepCopy

func (in *NetworkDeviceSpec) DeepCopy() *NetworkDeviceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDeviceSpec.

func (*NetworkDeviceSpec) DeepCopyInto

func (in *NetworkDeviceSpec) DeepCopyInto(out *NetworkDeviceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkRouteSpec

type NetworkRouteSpec struct {
	// To is an IPv4 or IPv6 address.
	To string `json:"to"`
	// Via is an IPv4 or IPv6 address.
	Via string `json:"via"`
	// Metric is the weight/priority of the route.
	Metric int32 `json:"metric"`
}

NetworkRouteSpec defines a static network route.

func (*NetworkRouteSpec) DeepCopy

func (in *NetworkRouteSpec) DeepCopy() *NetworkRouteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRouteSpec.

func (*NetworkRouteSpec) DeepCopyInto

func (in *NetworkRouteSpec) DeepCopyInto(out *NetworkRouteSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkSpec

type NetworkSpec struct {
	// Devices is the list of network devices used by the virtual machine.
	// TODO(akutz) Make sure at least one network matches the
	//             ClusterSpec.CloudProviderConfiguration.Network.Name
	Devices []NetworkDeviceSpec `json:"devices"`

	// Routes is a list of optional, static routes applied to the virtual
	// machine.
	// +optional
	Routes []NetworkRouteSpec `json:"routes,omitempty"`

	// PreferredAPIServeCIDR is the preferred CIDR for the Kubernetes API
	// server endpoint on this machine
	// +optional
	PreferredAPIServerCIDR string `json:"preferredAPIServerCidr,omitempty"`
}

NetworkSpec defines the virtual machine's network configuration.

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkStatus

type NetworkStatus struct {
	// Connected is a flag that indicates whether this network is currently
	// connected to the VM.
	Connected bool `json:"connected,omitempty"`

	// IPAddrs is one or more IP addresses reported by vm-tools.
	// +optional
	IPAddrs []string `json:"ipAddrs,omitempty"`

	// MACAddr is the MAC address of the network device.
	MACAddr string `json:"macAddr"`

	// NetworkName is the name of the network.
	// +optional
	NetworkName string `json:"networkName,omitempty"`
}

NetworkStatus provides information about one of a VM's networks.

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereCluster

type VSphereCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VSphereClusterSpec   `json:"spec,omitempty"`
	Status VSphereClusterStatus `json:"status,omitempty"`
}

VSphereCluster is the Schema for the vsphereclusters API

func (*VSphereCluster) ConvertFrom added in v0.6.0

func (dst *VSphereCluster) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereCluster) ConvertTo added in v0.6.0

func (src *VSphereCluster) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereCluster to the Hub version (v1alpha3).

func (*VSphereCluster) DeepCopy

func (in *VSphereCluster) DeepCopy() *VSphereCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereCluster.

func (*VSphereCluster) DeepCopyInto

func (in *VSphereCluster) DeepCopyInto(out *VSphereCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereCluster) DeepCopyObject

func (in *VSphereCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VSphereCluster) SetupWebhookWithManager added in v0.6.0

func (r *VSphereCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

type VSphereClusterList

type VSphereClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereCluster `json:"items"`
}

VSphereClusterList contains a list of VSphereCluster

func (*VSphereClusterList) ConvertFrom added in v0.6.0

func (dst *VSphereClusterList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereClusterList) ConvertTo added in v0.6.0

func (src *VSphereClusterList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereClusterList to the Hub version (v1alpha3).

func (*VSphereClusterList) DeepCopy

func (in *VSphereClusterList) DeepCopy() *VSphereClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereClusterList.

func (*VSphereClusterList) DeepCopyInto

func (in *VSphereClusterList) DeepCopyInto(out *VSphereClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereClusterList) DeepCopyObject

func (in *VSphereClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VSphereClusterSpec

type VSphereClusterSpec struct {
	// Server is the address of the vSphere endpoint.
	Server string `json:"server,omitempty"`

	// Insecure is a flag that controls whether or not to validate the
	// vSphere server's certificate.
	// +optional
	Insecure *bool `json:"insecure,omitempty"`

	// CloudProviderConfiguration holds the cluster-wide configuration for the
	// vSphere cloud provider.
	CloudProviderConfiguration CPIConfig `json:"cloudProviderConfiguration,omitempty"`
}

VSphereClusterSpec defines the desired state of VSphereCluster

func (*VSphereClusterSpec) DeepCopy

func (in *VSphereClusterSpec) DeepCopy() *VSphereClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereClusterSpec.

func (*VSphereClusterSpec) DeepCopyInto

func (in *VSphereClusterSpec) DeepCopyInto(out *VSphereClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereClusterStatus

type VSphereClusterStatus struct {
	Ready bool `json:"ready"`
	// APIEndpoints represents the endpoints to communicate with the control
	// plane.
	// +optional
	APIEndpoints []APIEndpoint `json:"apiEndpoints,omitempty"`
}

VSphereClusterStatus defines the observed state of VSphereClusterSpec

func (*VSphereClusterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereClusterStatus.

func (*VSphereClusterStatus) DeepCopyInto

func (in *VSphereClusterStatus) DeepCopyInto(out *VSphereClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereMachine

type VSphereMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VSphereMachineSpec   `json:"spec,omitempty"`
	Status VSphereMachineStatus `json:"status,omitempty"`
}

VSphereMachine is the Schema for the vspheremachines API

func (*VSphereMachine) ConvertFrom added in v0.6.0

func (dst *VSphereMachine) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereMachine) ConvertTo added in v0.6.0

func (src *VSphereMachine) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereMachine to the Hub version (v1alpha3).

func (*VSphereMachine) DeepCopy

func (in *VSphereMachine) DeepCopy() *VSphereMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachine.

func (*VSphereMachine) DeepCopyInto

func (in *VSphereMachine) DeepCopyInto(out *VSphereMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereMachine) DeepCopyObject

func (in *VSphereMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VSphereMachine) SetupWebhookWithManager added in v0.6.0

func (r *VSphereMachine) SetupWebhookWithManager(mgr ctrl.Manager) error

type VSphereMachineList

type VSphereMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereMachine `json:"items"`
}

VSphereMachineList contains a list of VSphereMachine

func (*VSphereMachineList) ConvertFrom added in v0.6.0

func (dst *VSphereMachineList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereMachineList) ConvertTo added in v0.6.0

func (src *VSphereMachineList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereMachineList to the Hub version (v1alpha3).

func (*VSphereMachineList) DeepCopy

func (in *VSphereMachineList) DeepCopy() *VSphereMachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineList.

func (*VSphereMachineList) DeepCopyInto

func (in *VSphereMachineList) DeepCopyInto(out *VSphereMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereMachineList) DeepCopyObject

func (in *VSphereMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VSphereMachineProviderConditionType

type VSphereMachineProviderConditionType string

VSphereMachineProviderConditionType is a valid value for VSphereMachineProviderCondition.Type

const (
	// MachineCreated indicates whether the machine has been created or not. If not,
	// it should include a reason and message for the failure.
	MachineCreated VSphereMachineProviderConditionType = "MachineCreated"
)

Valid conditions for an VSphere machine instance

type VSphereMachineSpec

type VSphereMachineSpec struct {
	// ProviderID is the virtual machine's BIOS UUID formated as
	// vsphere://12345678-1234-1234-1234-123456789abc
	// +optional
	ProviderID *string `json:"providerID,omitempty"`

	// Template is the name, inventory path, or instance UUID of the template
	// used to clone new machines.
	Template string `json:"template"`

	// Datacenter is the name or inventory path of the datacenter where this
	// machine's VM is created/located.
	Datacenter string `json:"datacenter"`

	// Network is the network configuration for this machine's VM.
	Network NetworkSpec `json:"network"`

	// NumCPUs is the number of virtual processors in a virtual machine.
	// Defaults to the analogue property value in the template from which this
	// machine is cloned.
	// +optional
	NumCPUs int32 `json:"numCPUs,omitempty"`
	// NumCPUs is the number of cores among which to distribute CPUs in this
	// virtual machine.
	// Defaults to the analogue property value in the template from which this
	// machine is cloned.
	// +optional
	NumCoresPerSocket int32 `json:"numCoresPerSocket,omitempty"`
	// MemoryMiB is the size of a virtual machine's memory, in MiB.
	// Defaults to the analogue property value in the template from which this
	// machine is cloned.
	// +optional
	MemoryMiB int64 `json:"memoryMiB,omitempty"`
	// DiskGiB is the size of a virtual machine's disk, in GiB.
	// Defaults to the analogue property value in the template from which this
	// machine is cloned.
	// +optional
	DiskGiB int32 `json:"diskGiB,omitempty"`
}

VSphereMachineSpec defines the desired state of VSphereMachine

func (*VSphereMachineSpec) DeepCopy

func (in *VSphereMachineSpec) DeepCopy() *VSphereMachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineSpec.

func (*VSphereMachineSpec) DeepCopyInto

func (in *VSphereMachineSpec) DeepCopyInto(out *VSphereMachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereMachineStatus

type VSphereMachineStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready"`

	// Addresses contains the VSphere instance associated addresses.
	Addresses []v1.NodeAddress `json:"addresses,omitempty"`

	// TaskRef is a managed object reference to a Task related to the machine.
	// This value is set automatically at runtime and should not be set or
	// modified by users.
	// +optional
	TaskRef string `json:"taskRef,omitempty"`

	// Network returns the network status for each of the machine's configured
	// network interfaces.
	// +optional
	Network []NetworkStatus `json:"networkStatus,omitempty"`

	// ErrorReason will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	ErrorReason *errors.MachineStatusError `json:"errorReason,omitempty"`

	// ErrorMessage will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`
}

VSphereMachineStatus defines the observed state of VSphereMachine

func (*VSphereMachineStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineStatus.

func (*VSphereMachineStatus) DeepCopyInto

func (in *VSphereMachineStatus) DeepCopyInto(out *VSphereMachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereMachineTemplate

type VSphereMachineTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec VSphereMachineTemplateSpec `json:"spec,omitempty"`
}

VSphereMachineTemplate is the Schema for the vspheremachinetemplates API

func (*VSphereMachineTemplate) ConvertFrom added in v0.6.0

func (dst *VSphereMachineTemplate) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereMachineTemplate) ConvertTo added in v0.6.0

func (src *VSphereMachineTemplate) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereMachineTemplate to the Hub version (v1alpha3).

func (*VSphereMachineTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineTemplate.

func (*VSphereMachineTemplate) DeepCopyInto

func (in *VSphereMachineTemplate) DeepCopyInto(out *VSphereMachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereMachineTemplate) DeepCopyObject

func (in *VSphereMachineTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VSphereMachineTemplate) SetupWebhookWithManager added in v0.6.0

func (r *VSphereMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error

type VSphereMachineTemplateList

type VSphereMachineTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereMachineTemplate `json:"items"`
}

VSphereMachineTemplateList contains a list of VSphereMachineTemplate

func (*VSphereMachineTemplateList) ConvertFrom added in v0.6.0

func (dst *VSphereMachineTemplateList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1alpha3) to this version.

func (*VSphereMachineTemplateList) ConvertTo added in v0.6.0

func (src *VSphereMachineTemplateList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VSphereMachineTemplateList to the Hub version (v1alpha3).

func (*VSphereMachineTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineTemplateList.

func (*VSphereMachineTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VSphereMachineTemplateList) DeepCopyObject

func (in *VSphereMachineTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VSphereMachineTemplateResource

type VSphereMachineTemplateResource struct {
	metav1.TypeMeta `json:",inline"`

	// Standard object's metadata.
	clusterv1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the specification of the desired behavior of the machine.
	Spec VSphereMachineSpec `json:"spec"`
}

VSphereMachineTemplateResource describes the data needed to create a VSphereMachine from a template

func (*VSphereMachineTemplateResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineTemplateResource.

func (*VSphereMachineTemplateResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VSphereMachineTemplateSpec

type VSphereMachineTemplateSpec struct {
	Template VSphereMachineTemplateResource `json:"template"`
}

VSphereMachineTemplateSpec defines the desired state of VSphereMachineTemplate

func (*VSphereMachineTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineTemplateSpec.

func (*VSphereMachineTemplateSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachine

type VirtualMachine struct {
	// Name is the VM's name.
	Name string `json:"name"`

	// BiosUUID is the VM's BIOS UUID.
	BiosUUID string `json:"biosUUID"`

	// State is the VM's state.
	State VirtualMachineState `json:"state"`

	// Network is the status of the VM's network devices.
	Network []NetworkStatus `json:"network"`
}

VirtualMachine represents data about a vSphere virtual machine object.

func (*VirtualMachine) DeepCopy

func (in *VirtualMachine) DeepCopy() *VirtualMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine.

func (*VirtualMachine) DeepCopyInto

func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePowerState

type VirtualMachinePowerState string

VirtualMachinePowerState describe the power state of a VM

type VirtualMachineState

type VirtualMachineState string

VirtualMachineState describes the state of a VM.

Jump to

Keyboard shortcuts

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