v1alpha3

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 22 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 v1alpha3 contains API Schema definitions for the infrastructure v1alpha3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-vsphere/api/v1beta1

Index

Constants

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

	// 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 (
	// HAProxyLoadBalancerFinalizer allows a reconciler to clean up
	// resources associated with an HAProxyLoadBalancer before removing
	// it from the API server.
	HAProxyLoadBalancerFinalizer = "haproxyloadbalancer.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"
)
View Source
const (
	SecretIdentitySetFinalizer = "vspherecluster/infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// VMFinalizer allows the reconciler to clean up resources associated
	// with a VSphereVM before removing it from the API Server.
	VMFinalizer = "vspherevm.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
)
View Source
var (
	VSphereClusterIdentityKind = VSphereIdentityKind("VSphereClusterIdentity")
	SecretKind                 = VSphereIdentityKind("Secret")
)

Functions

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint added in v1.0.0

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint(in *APIEndpoint, out *v1beta1.APIEndpoint, s conversion.Scope) error

Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha3_AllowedNamespaces_To_v1beta1_AllowedNamespaces added in v1.0.0

func Convert_v1alpha3_AllowedNamespaces_To_v1beta1_AllowedNamespaces(in *AllowedNamespaces, out *v1beta1.AllowedNamespaces, s conversion.Scope) error

Convert_v1alpha3_AllowedNamespaces_To_v1beta1_AllowedNamespaces is an autogenerated conversion function.

func Convert_v1alpha3_FailureDomainHosts_To_v1beta1_FailureDomainHosts added in v1.0.0

func Convert_v1alpha3_FailureDomainHosts_To_v1beta1_FailureDomainHosts(in *FailureDomainHosts, out *v1beta1.FailureDomainHosts, s conversion.Scope) error

Convert_v1alpha3_FailureDomainHosts_To_v1beta1_FailureDomainHosts is an autogenerated conversion function.

func Convert_v1alpha3_FailureDomain_To_v1beta1_FailureDomain added in v1.0.0

func Convert_v1alpha3_FailureDomain_To_v1beta1_FailureDomain(in *FailureDomain, out *v1beta1.FailureDomain, s conversion.Scope) error

Convert_v1alpha3_FailureDomain_To_v1beta1_FailureDomain is an autogenerated conversion function.

func Convert_v1alpha3_NetworkDeviceSpec_To_v1beta1_NetworkDeviceSpec added in v1.0.0

func Convert_v1alpha3_NetworkDeviceSpec_To_v1beta1_NetworkDeviceSpec(in *NetworkDeviceSpec, out *v1beta1.NetworkDeviceSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkDeviceSpec_To_v1beta1_NetworkDeviceSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkRouteSpec_To_v1beta1_NetworkRouteSpec added in v1.0.0

func Convert_v1alpha3_NetworkRouteSpec_To_v1beta1_NetworkRouteSpec(in *NetworkRouteSpec, out *v1beta1.NetworkRouteSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkRouteSpec_To_v1beta1_NetworkRouteSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec added in v1.0.0

func Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec(in *NetworkSpec, out *v1beta1.NetworkSpec, s conversion.Scope) error

Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec is an autogenerated conversion function.

func Convert_v1alpha3_NetworkStatus_To_v1beta1_NetworkStatus added in v1.0.0

func Convert_v1alpha3_NetworkStatus_To_v1beta1_NetworkStatus(in *NetworkStatus, out *v1beta1.NetworkStatus, s conversion.Scope) error

Convert_v1alpha3_NetworkStatus_To_v1beta1_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha3_Network_To_v1beta1_Network added in v1.0.0

func Convert_v1alpha3_Network_To_v1beta1_Network(in *Network, out *v1beta1.Network, s conversion.Scope) error

Convert_v1alpha3_Network_To_v1beta1_Network is an autogenerated conversion function.

func Convert_v1alpha3_ObjectMeta_To_v1beta1_ObjectMeta added in v1.0.0

func Convert_v1alpha3_ObjectMeta_To_v1beta1_ObjectMeta(in *clusterv1a3.ObjectMeta, out *clusterv1b1.ObjectMeta, s apiconversion.Scope) error

nolint

func Convert_v1alpha3_PlacementConstraint_To_v1beta1_PlacementConstraint added in v1.0.0

func Convert_v1alpha3_PlacementConstraint_To_v1beta1_PlacementConstraint(in *PlacementConstraint, out *v1beta1.PlacementConstraint, s conversion.Scope) error

Convert_v1alpha3_PlacementConstraint_To_v1beta1_PlacementConstraint is an autogenerated conversion function.

func Convert_v1alpha3_SSHUser_To_v1beta1_SSHUser added in v1.0.0

func Convert_v1alpha3_SSHUser_To_v1beta1_SSHUser(in *SSHUser, out *v1beta1.SSHUser, s conversion.Scope) error

Convert_v1alpha3_SSHUser_To_v1beta1_SSHUser is an autogenerated conversion function.

func Convert_v1alpha3_Topology_To_v1beta1_Topology added in v1.0.0

func Convert_v1alpha3_Topology_To_v1beta1_Topology(in *Topology, out *v1beta1.Topology, s conversion.Scope) error

Convert_v1alpha3_Topology_To_v1beta1_Topology is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterIdentityList_To_v1beta1_VSphereClusterIdentityList added in v1.0.0

func Convert_v1alpha3_VSphereClusterIdentityList_To_v1beta1_VSphereClusterIdentityList(in *VSphereClusterIdentityList, out *v1beta1.VSphereClusterIdentityList, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterIdentityList_To_v1beta1_VSphereClusterIdentityList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterIdentitySpec_To_v1beta1_VSphereClusterIdentitySpec added in v1.0.0

func Convert_v1alpha3_VSphereClusterIdentitySpec_To_v1beta1_VSphereClusterIdentitySpec(in *VSphereClusterIdentitySpec, out *v1beta1.VSphereClusterIdentitySpec, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterIdentitySpec_To_v1beta1_VSphereClusterIdentitySpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterIdentityStatus_To_v1beta1_VSphereClusterIdentityStatus added in v1.0.0

func Convert_v1alpha3_VSphereClusterIdentityStatus_To_v1beta1_VSphereClusterIdentityStatus(in *VSphereClusterIdentityStatus, out *v1beta1.VSphereClusterIdentityStatus, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterIdentityStatus_To_v1beta1_VSphereClusterIdentityStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterIdentity_To_v1beta1_VSphereClusterIdentity added in v1.0.0

func Convert_v1alpha3_VSphereClusterIdentity_To_v1beta1_VSphereClusterIdentity(in *VSphereClusterIdentity, out *v1beta1.VSphereClusterIdentity, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterIdentity_To_v1beta1_VSphereClusterIdentity is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterList_To_v1beta1_VSphereClusterList added in v1.0.0

func Convert_v1alpha3_VSphereClusterList_To_v1beta1_VSphereClusterList(in *VSphereClusterList, out *v1beta1.VSphereClusterList, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterList_To_v1beta1_VSphereClusterList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereClusterSpec_To_v1beta1_VSphereClusterSpec added in v1.0.0

func Convert_v1alpha3_VSphereClusterSpec_To_v1beta1_VSphereClusterSpec(in *VSphereClusterSpec, out *infrav1beta1.VSphereClusterSpec, s apiconversion.Scope) error

func Convert_v1alpha3_VSphereClusterStatus_To_v1beta1_VSphereClusterStatus added in v1.0.0

func Convert_v1alpha3_VSphereClusterStatus_To_v1beta1_VSphereClusterStatus(in *VSphereClusterStatus, out *v1beta1.VSphereClusterStatus, s conversion.Scope) error

Convert_v1alpha3_VSphereClusterStatus_To_v1beta1_VSphereClusterStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereCluster_To_v1beta1_VSphereCluster added in v1.0.0

func Convert_v1alpha3_VSphereCluster_To_v1beta1_VSphereCluster(in *VSphereCluster, out *v1beta1.VSphereCluster, s conversion.Scope) error

Convert_v1alpha3_VSphereCluster_To_v1beta1_VSphereCluster is an autogenerated conversion function.

func Convert_v1alpha3_VSphereDeploymentZoneList_To_v1beta1_VSphereDeploymentZoneList added in v1.0.0

func Convert_v1alpha3_VSphereDeploymentZoneList_To_v1beta1_VSphereDeploymentZoneList(in *VSphereDeploymentZoneList, out *v1beta1.VSphereDeploymentZoneList, s conversion.Scope) error

Convert_v1alpha3_VSphereDeploymentZoneList_To_v1beta1_VSphereDeploymentZoneList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereDeploymentZoneSpec_To_v1beta1_VSphereDeploymentZoneSpec added in v1.0.0

func Convert_v1alpha3_VSphereDeploymentZoneSpec_To_v1beta1_VSphereDeploymentZoneSpec(in *VSphereDeploymentZoneSpec, out *v1beta1.VSphereDeploymentZoneSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereDeploymentZoneSpec_To_v1beta1_VSphereDeploymentZoneSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereDeploymentZoneStatus_To_v1beta1_VSphereDeploymentZoneStatus added in v1.0.0

func Convert_v1alpha3_VSphereDeploymentZoneStatus_To_v1beta1_VSphereDeploymentZoneStatus(in *VSphereDeploymentZoneStatus, out *v1beta1.VSphereDeploymentZoneStatus, s conversion.Scope) error

Convert_v1alpha3_VSphereDeploymentZoneStatus_To_v1beta1_VSphereDeploymentZoneStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereDeploymentZone_To_v1beta1_VSphereDeploymentZone added in v1.0.0

func Convert_v1alpha3_VSphereDeploymentZone_To_v1beta1_VSphereDeploymentZone(in *VSphereDeploymentZone, out *v1beta1.VSphereDeploymentZone, s conversion.Scope) error

Convert_v1alpha3_VSphereDeploymentZone_To_v1beta1_VSphereDeploymentZone is an autogenerated conversion function.

func Convert_v1alpha3_VSphereFailureDomainList_To_v1beta1_VSphereFailureDomainList added in v1.0.0

func Convert_v1alpha3_VSphereFailureDomainList_To_v1beta1_VSphereFailureDomainList(in *VSphereFailureDomainList, out *v1beta1.VSphereFailureDomainList, s conversion.Scope) error

Convert_v1alpha3_VSphereFailureDomainList_To_v1beta1_VSphereFailureDomainList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereFailureDomainSpec_To_v1beta1_VSphereFailureDomainSpec added in v1.0.0

func Convert_v1alpha3_VSphereFailureDomainSpec_To_v1beta1_VSphereFailureDomainSpec(in *VSphereFailureDomainSpec, out *v1beta1.VSphereFailureDomainSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereFailureDomainSpec_To_v1beta1_VSphereFailureDomainSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereFailureDomain_To_v1beta1_VSphereFailureDomain added in v1.0.0

func Convert_v1alpha3_VSphereFailureDomain_To_v1beta1_VSphereFailureDomain(in *VSphereFailureDomain, out *v1beta1.VSphereFailureDomain, s conversion.Scope) error

Convert_v1alpha3_VSphereFailureDomain_To_v1beta1_VSphereFailureDomain is an autogenerated conversion function.

func Convert_v1alpha3_VSphereIdentityReference_To_v1beta1_VSphereIdentityReference added in v1.0.0

func Convert_v1alpha3_VSphereIdentityReference_To_v1beta1_VSphereIdentityReference(in *VSphereIdentityReference, out *v1beta1.VSphereIdentityReference, s conversion.Scope) error

Convert_v1alpha3_VSphereIdentityReference_To_v1beta1_VSphereIdentityReference is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineList_To_v1beta1_VSphereMachineList added in v1.0.0

func Convert_v1alpha3_VSphereMachineList_To_v1beta1_VSphereMachineList(in *VSphereMachineList, out *v1beta1.VSphereMachineList, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineList_To_v1beta1_VSphereMachineList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineSpec_To_v1beta1_VSphereMachineSpec added in v1.0.0

func Convert_v1alpha3_VSphereMachineSpec_To_v1beta1_VSphereMachineSpec(in *VSphereMachineSpec, out *v1beta1.VSphereMachineSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineSpec_To_v1beta1_VSphereMachineSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineStatus_To_v1beta1_VSphereMachineStatus added in v1.0.0

func Convert_v1alpha3_VSphereMachineStatus_To_v1beta1_VSphereMachineStatus(in *VSphereMachineStatus, out *v1beta1.VSphereMachineStatus, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineStatus_To_v1beta1_VSphereMachineStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplateList_To_v1beta1_VSphereMachineTemplateList added in v1.0.0

func Convert_v1alpha3_VSphereMachineTemplateList_To_v1beta1_VSphereMachineTemplateList(in *VSphereMachineTemplateList, out *v1beta1.VSphereMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateList_To_v1beta1_VSphereMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplateResource_To_v1beta1_VSphereMachineTemplateResource added in v1.0.0

func Convert_v1alpha3_VSphereMachineTemplateResource_To_v1beta1_VSphereMachineTemplateResource(in *VSphereMachineTemplateResource, out *v1beta1.VSphereMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateResource_To_v1beta1_VSphereMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1beta1_VSphereMachineTemplateSpec added in v1.0.0

func Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1beta1_VSphereMachineTemplateSpec(in *VSphereMachineTemplateSpec, out *v1beta1.VSphereMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplateSpec_To_v1beta1_VSphereMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachineTemplate_To_v1beta1_VSphereMachineTemplate added in v1.0.0

func Convert_v1alpha3_VSphereMachineTemplate_To_v1beta1_VSphereMachineTemplate(in *VSphereMachineTemplate, out *v1beta1.VSphereMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_VSphereMachineTemplate_To_v1beta1_VSphereMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_VSphereMachine_To_v1beta1_VSphereMachine added in v1.0.0

func Convert_v1alpha3_VSphereMachine_To_v1beta1_VSphereMachine(in *VSphereMachine, out *v1beta1.VSphereMachine, s conversion.Scope) error

Convert_v1alpha3_VSphereMachine_To_v1beta1_VSphereMachine is an autogenerated conversion function.

func Convert_v1alpha3_VSphereVMList_To_v1beta1_VSphereVMList added in v1.0.0

func Convert_v1alpha3_VSphereVMList_To_v1beta1_VSphereVMList(in *VSphereVMList, out *v1beta1.VSphereVMList, s conversion.Scope) error

Convert_v1alpha3_VSphereVMList_To_v1beta1_VSphereVMList is an autogenerated conversion function.

func Convert_v1alpha3_VSphereVMSpec_To_v1beta1_VSphereVMSpec added in v1.0.0

func Convert_v1alpha3_VSphereVMSpec_To_v1beta1_VSphereVMSpec(in *VSphereVMSpec, out *v1beta1.VSphereVMSpec, s conversion.Scope) error

Convert_v1alpha3_VSphereVMSpec_To_v1beta1_VSphereVMSpec is an autogenerated conversion function.

func Convert_v1alpha3_VSphereVMStatus_To_v1beta1_VSphereVMStatus added in v1.0.0

func Convert_v1alpha3_VSphereVMStatus_To_v1beta1_VSphereVMStatus(in *VSphereVMStatus, out *v1beta1.VSphereVMStatus, s conversion.Scope) error

Convert_v1alpha3_VSphereVMStatus_To_v1beta1_VSphereVMStatus is an autogenerated conversion function.

func Convert_v1alpha3_VSphereVM_To_v1beta1_VSphereVM added in v1.0.0

func Convert_v1alpha3_VSphereVM_To_v1beta1_VSphereVM(in *VSphereVM, out *v1beta1.VSphereVM, s conversion.Scope) error

Convert_v1alpha3_VSphereVM_To_v1beta1_VSphereVM is an autogenerated conversion function.

func Convert_v1alpha3_VirtualMachineCloneSpec_To_v1beta1_VirtualMachineCloneSpec added in v1.0.0

func Convert_v1alpha3_VirtualMachineCloneSpec_To_v1beta1_VirtualMachineCloneSpec(in *VirtualMachineCloneSpec, out *v1beta1.VirtualMachineCloneSpec, s conversion.Scope) error

Convert_v1alpha3_VirtualMachineCloneSpec_To_v1beta1_VirtualMachineCloneSpec is an autogenerated conversion function.

func Convert_v1alpha3_VirtualMachine_To_v1beta1_VirtualMachine added in v1.0.0

func Convert_v1alpha3_VirtualMachine_To_v1beta1_VirtualMachine(in *VirtualMachine, out *v1beta1.VirtualMachine, s conversion.Scope) error

Convert_v1alpha3_VirtualMachine_To_v1beta1_VirtualMachine is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint added in v1.0.0

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint(in *v1beta1.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta1_AllowedNamespaces_To_v1alpha3_AllowedNamespaces added in v1.0.0

func Convert_v1beta1_AllowedNamespaces_To_v1alpha3_AllowedNamespaces(in *v1beta1.AllowedNamespaces, out *AllowedNamespaces, s conversion.Scope) error

Convert_v1beta1_AllowedNamespaces_To_v1alpha3_AllowedNamespaces is an autogenerated conversion function.

func Convert_v1beta1_FailureDomainHosts_To_v1alpha3_FailureDomainHosts added in v1.0.0

func Convert_v1beta1_FailureDomainHosts_To_v1alpha3_FailureDomainHosts(in *v1beta1.FailureDomainHosts, out *FailureDomainHosts, s conversion.Scope) error

Convert_v1beta1_FailureDomainHosts_To_v1alpha3_FailureDomainHosts is an autogenerated conversion function.

func Convert_v1beta1_FailureDomain_To_v1alpha3_FailureDomain added in v1.0.0

func Convert_v1beta1_FailureDomain_To_v1alpha3_FailureDomain(in *v1beta1.FailureDomain, out *FailureDomain, s conversion.Scope) error

Convert_v1beta1_FailureDomain_To_v1alpha3_FailureDomain is an autogenerated conversion function.

func Convert_v1beta1_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec added in v1.0.0

func Convert_v1beta1_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec(in *v1beta1.NetworkDeviceSpec, out *NetworkDeviceSpec, s conversion.Scope) error

Convert_v1beta1_NetworkDeviceSpec_To_v1alpha3_NetworkDeviceSpec is an autogenerated conversion function.

func Convert_v1beta1_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec added in v1.0.0

func Convert_v1beta1_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec(in *v1beta1.NetworkRouteSpec, out *NetworkRouteSpec, s conversion.Scope) error

Convert_v1beta1_NetworkRouteSpec_To_v1alpha3_NetworkRouteSpec is an autogenerated conversion function.

func Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec added in v1.0.0

func Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec(in *v1beta1.NetworkSpec, out *NetworkSpec, s conversion.Scope) error

Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec is an autogenerated conversion function.

func Convert_v1beta1_NetworkStatus_To_v1alpha3_NetworkStatus added in v1.0.0

func Convert_v1beta1_NetworkStatus_To_v1alpha3_NetworkStatus(in *v1beta1.NetworkStatus, out *NetworkStatus, s conversion.Scope) error

Convert_v1beta1_NetworkStatus_To_v1alpha3_NetworkStatus is an autogenerated conversion function.

func Convert_v1beta1_Network_To_v1alpha3_Network added in v1.0.0

func Convert_v1beta1_Network_To_v1alpha3_Network(in *v1beta1.Network, out *Network, s conversion.Scope) error

Convert_v1beta1_Network_To_v1alpha3_Network is an autogenerated conversion function.

func Convert_v1beta1_ObjectMeta_To_v1alpha3_ObjectMeta added in v1.0.0

func Convert_v1beta1_ObjectMeta_To_v1alpha3_ObjectMeta(in *clusterv1b1.ObjectMeta, out *clusterv1a3.ObjectMeta, s apiconversion.Scope) error

nolint

func Convert_v1beta1_PlacementConstraint_To_v1alpha3_PlacementConstraint added in v1.0.0

func Convert_v1beta1_PlacementConstraint_To_v1alpha3_PlacementConstraint(in *v1beta1.PlacementConstraint, out *PlacementConstraint, s conversion.Scope) error

Convert_v1beta1_PlacementConstraint_To_v1alpha3_PlacementConstraint is an autogenerated conversion function.

func Convert_v1beta1_SSHUser_To_v1alpha3_SSHUser added in v1.0.0

func Convert_v1beta1_SSHUser_To_v1alpha3_SSHUser(in *v1beta1.SSHUser, out *SSHUser, s conversion.Scope) error

Convert_v1beta1_SSHUser_To_v1alpha3_SSHUser is an autogenerated conversion function.

func Convert_v1beta1_Topology_To_v1alpha3_Topology added in v1.0.0

func Convert_v1beta1_Topology_To_v1alpha3_Topology(in *v1beta1.Topology, out *Topology, s conversion.Scope) error

Convert_v1beta1_Topology_To_v1alpha3_Topology is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterIdentityList_To_v1alpha3_VSphereClusterIdentityList added in v1.0.0

func Convert_v1beta1_VSphereClusterIdentityList_To_v1alpha3_VSphereClusterIdentityList(in *v1beta1.VSphereClusterIdentityList, out *VSphereClusterIdentityList, s conversion.Scope) error

Convert_v1beta1_VSphereClusterIdentityList_To_v1alpha3_VSphereClusterIdentityList is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterIdentitySpec_To_v1alpha3_VSphereClusterIdentitySpec added in v1.0.0

func Convert_v1beta1_VSphereClusterIdentitySpec_To_v1alpha3_VSphereClusterIdentitySpec(in *v1beta1.VSphereClusterIdentitySpec, out *VSphereClusterIdentitySpec, s conversion.Scope) error

Convert_v1beta1_VSphereClusterIdentitySpec_To_v1alpha3_VSphereClusterIdentitySpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterIdentityStatus_To_v1alpha3_VSphereClusterIdentityStatus added in v1.0.0

func Convert_v1beta1_VSphereClusterIdentityStatus_To_v1alpha3_VSphereClusterIdentityStatus(in *v1beta1.VSphereClusterIdentityStatus, out *VSphereClusterIdentityStatus, s conversion.Scope) error

Convert_v1beta1_VSphereClusterIdentityStatus_To_v1alpha3_VSphereClusterIdentityStatus is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterIdentity_To_v1alpha3_VSphereClusterIdentity added in v1.0.0

func Convert_v1beta1_VSphereClusterIdentity_To_v1alpha3_VSphereClusterIdentity(in *v1beta1.VSphereClusterIdentity, out *VSphereClusterIdentity, s conversion.Scope) error

Convert_v1beta1_VSphereClusterIdentity_To_v1alpha3_VSphereClusterIdentity is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterList_To_v1alpha3_VSphereClusterList added in v1.0.0

func Convert_v1beta1_VSphereClusterList_To_v1alpha3_VSphereClusterList(in *v1beta1.VSphereClusterList, out *VSphereClusterList, s conversion.Scope) error

Convert_v1beta1_VSphereClusterList_To_v1alpha3_VSphereClusterList is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec added in v1.0.0

func Convert_v1beta1_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec(in *v1beta1.VSphereClusterSpec, out *VSphereClusterSpec, s conversion.Scope) error

Convert_v1beta1_VSphereClusterSpec_To_v1alpha3_VSphereClusterSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus added in v1.0.0

func Convert_v1beta1_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus(in *v1beta1.VSphereClusterStatus, out *VSphereClusterStatus, s conversion.Scope) error

Convert_v1beta1_VSphereClusterStatus_To_v1alpha3_VSphereClusterStatus is an autogenerated conversion function.

func Convert_v1beta1_VSphereCluster_To_v1alpha3_VSphereCluster added in v1.0.0

func Convert_v1beta1_VSphereCluster_To_v1alpha3_VSphereCluster(in *v1beta1.VSphereCluster, out *VSphereCluster, s conversion.Scope) error

Convert_v1beta1_VSphereCluster_To_v1alpha3_VSphereCluster is an autogenerated conversion function.

func Convert_v1beta1_VSphereDeploymentZoneList_To_v1alpha3_VSphereDeploymentZoneList added in v1.0.0

func Convert_v1beta1_VSphereDeploymentZoneList_To_v1alpha3_VSphereDeploymentZoneList(in *v1beta1.VSphereDeploymentZoneList, out *VSphereDeploymentZoneList, s conversion.Scope) error

Convert_v1beta1_VSphereDeploymentZoneList_To_v1alpha3_VSphereDeploymentZoneList is an autogenerated conversion function.

func Convert_v1beta1_VSphereDeploymentZoneSpec_To_v1alpha3_VSphereDeploymentZoneSpec added in v1.0.0

func Convert_v1beta1_VSphereDeploymentZoneSpec_To_v1alpha3_VSphereDeploymentZoneSpec(in *v1beta1.VSphereDeploymentZoneSpec, out *VSphereDeploymentZoneSpec, s conversion.Scope) error

Convert_v1beta1_VSphereDeploymentZoneSpec_To_v1alpha3_VSphereDeploymentZoneSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereDeploymentZoneStatus_To_v1alpha3_VSphereDeploymentZoneStatus added in v1.0.0

func Convert_v1beta1_VSphereDeploymentZoneStatus_To_v1alpha3_VSphereDeploymentZoneStatus(in *v1beta1.VSphereDeploymentZoneStatus, out *VSphereDeploymentZoneStatus, s conversion.Scope) error

Convert_v1beta1_VSphereDeploymentZoneStatus_To_v1alpha3_VSphereDeploymentZoneStatus is an autogenerated conversion function.

func Convert_v1beta1_VSphereDeploymentZone_To_v1alpha3_VSphereDeploymentZone added in v1.0.0

func Convert_v1beta1_VSphereDeploymentZone_To_v1alpha3_VSphereDeploymentZone(in *v1beta1.VSphereDeploymentZone, out *VSphereDeploymentZone, s conversion.Scope) error

Convert_v1beta1_VSphereDeploymentZone_To_v1alpha3_VSphereDeploymentZone is an autogenerated conversion function.

func Convert_v1beta1_VSphereFailureDomainList_To_v1alpha3_VSphereFailureDomainList added in v1.0.0

func Convert_v1beta1_VSphereFailureDomainList_To_v1alpha3_VSphereFailureDomainList(in *v1beta1.VSphereFailureDomainList, out *VSphereFailureDomainList, s conversion.Scope) error

Convert_v1beta1_VSphereFailureDomainList_To_v1alpha3_VSphereFailureDomainList is an autogenerated conversion function.

func Convert_v1beta1_VSphereFailureDomainSpec_To_v1alpha3_VSphereFailureDomainSpec added in v1.0.0

func Convert_v1beta1_VSphereFailureDomainSpec_To_v1alpha3_VSphereFailureDomainSpec(in *v1beta1.VSphereFailureDomainSpec, out *VSphereFailureDomainSpec, s conversion.Scope) error

Convert_v1beta1_VSphereFailureDomainSpec_To_v1alpha3_VSphereFailureDomainSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereFailureDomain_To_v1alpha3_VSphereFailureDomain added in v1.0.0

func Convert_v1beta1_VSphereFailureDomain_To_v1alpha3_VSphereFailureDomain(in *v1beta1.VSphereFailureDomain, out *VSphereFailureDomain, s conversion.Scope) error

Convert_v1beta1_VSphereFailureDomain_To_v1alpha3_VSphereFailureDomain is an autogenerated conversion function.

func Convert_v1beta1_VSphereIdentityReference_To_v1alpha3_VSphereIdentityReference added in v1.0.0

func Convert_v1beta1_VSphereIdentityReference_To_v1alpha3_VSphereIdentityReference(in *v1beta1.VSphereIdentityReference, out *VSphereIdentityReference, s conversion.Scope) error

Convert_v1beta1_VSphereIdentityReference_To_v1alpha3_VSphereIdentityReference is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineList_To_v1alpha3_VSphereMachineList added in v1.0.0

func Convert_v1beta1_VSphereMachineList_To_v1alpha3_VSphereMachineList(in *v1beta1.VSphereMachineList, out *VSphereMachineList, s conversion.Scope) error

Convert_v1beta1_VSphereMachineList_To_v1alpha3_VSphereMachineList is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec added in v1.0.0

func Convert_v1beta1_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec(in *v1beta1.VSphereMachineSpec, out *VSphereMachineSpec, s conversion.Scope) error

Convert_v1beta1_VSphereMachineSpec_To_v1alpha3_VSphereMachineSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus added in v1.0.0

func Convert_v1beta1_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus(in *v1beta1.VSphereMachineStatus, out *VSphereMachineStatus, s conversion.Scope) error

Convert_v1beta1_VSphereMachineStatus_To_v1alpha3_VSphereMachineStatus is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList added in v1.0.0

func Convert_v1beta1_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList(in *v1beta1.VSphereMachineTemplateList, out *VSphereMachineTemplateList, s conversion.Scope) error

Convert_v1beta1_VSphereMachineTemplateList_To_v1alpha3_VSphereMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource added in v1.0.0

func Convert_v1beta1_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource(in *v1beta1.VSphereMachineTemplateResource, out *VSphereMachineTemplateResource, s conversion.Scope) error

Convert_v1beta1_VSphereMachineTemplateResource_To_v1alpha3_VSphereMachineTemplateResource is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec added in v1.0.0

func Convert_v1beta1_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec(in *v1beta1.VSphereMachineTemplateSpec, out *VSphereMachineTemplateSpec, s conversion.Scope) error

Convert_v1beta1_VSphereMachineTemplateSpec_To_v1alpha3_VSphereMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate added in v1.0.0

func Convert_v1beta1_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate(in *v1beta1.VSphereMachineTemplate, out *VSphereMachineTemplate, s conversion.Scope) error

Convert_v1beta1_VSphereMachineTemplate_To_v1alpha3_VSphereMachineTemplate is an autogenerated conversion function.

func Convert_v1beta1_VSphereMachine_To_v1alpha3_VSphereMachine added in v1.0.0

func Convert_v1beta1_VSphereMachine_To_v1alpha3_VSphereMachine(in *v1beta1.VSphereMachine, out *VSphereMachine, s conversion.Scope) error

Convert_v1beta1_VSphereMachine_To_v1alpha3_VSphereMachine is an autogenerated conversion function.

func Convert_v1beta1_VSphereVMList_To_v1alpha3_VSphereVMList added in v1.0.0

func Convert_v1beta1_VSphereVMList_To_v1alpha3_VSphereVMList(in *v1beta1.VSphereVMList, out *VSphereVMList, s conversion.Scope) error

Convert_v1beta1_VSphereVMList_To_v1alpha3_VSphereVMList is an autogenerated conversion function.

func Convert_v1beta1_VSphereVMSpec_To_v1alpha3_VSphereVMSpec added in v1.0.0

func Convert_v1beta1_VSphereVMSpec_To_v1alpha3_VSphereVMSpec(in *v1beta1.VSphereVMSpec, out *VSphereVMSpec, s conversion.Scope) error

Convert_v1beta1_VSphereVMSpec_To_v1alpha3_VSphereVMSpec is an autogenerated conversion function.

func Convert_v1beta1_VSphereVMStatus_To_v1alpha3_VSphereVMStatus added in v1.0.0

func Convert_v1beta1_VSphereVMStatus_To_v1alpha3_VSphereVMStatus(in *v1beta1.VSphereVMStatus, out *VSphereVMStatus, s conversion.Scope) error

Convert_v1beta1_VSphereVMStatus_To_v1alpha3_VSphereVMStatus is an autogenerated conversion function.

func Convert_v1beta1_VSphereVM_To_v1alpha3_VSphereVM added in v1.0.0

func Convert_v1beta1_VSphereVM_To_v1alpha3_VSphereVM(in *v1beta1.VSphereVM, out *VSphereVM, s conversion.Scope) error

Convert_v1beta1_VSphereVM_To_v1alpha3_VSphereVM is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineCloneSpec_To_v1alpha3_VirtualMachineCloneSpec added in v1.0.0

func Convert_v1beta1_VirtualMachineCloneSpec_To_v1alpha3_VirtualMachineCloneSpec(in *v1beta1.VirtualMachineCloneSpec, out *VirtualMachineCloneSpec, s conversion.Scope) error

Convert_v1beta1_VirtualMachineCloneSpec_To_v1alpha3_VirtualMachineCloneSpec is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachine_To_v1alpha3_VirtualMachine added in v1.0.0

func Convert_v1beta1_VirtualMachine_To_v1alpha3_VirtualMachine(in *v1beta1.VirtualMachine, out *VirtualMachine, s conversion.Scope) error

Convert_v1beta1_VirtualMachine_To_v1alpha3_VirtualMachine is an autogenerated conversion function.

func IsEmpty

func IsEmpty(obj interface{}) bool

IsEmpty returns true if an object is its empty value or if a struct, all of its fields are their empty values.

func IsNotEmpty

func IsNotEmpty(obj interface{}) bool

IsNotEmpty returns true when IsEmpty returns false.

func RegisterConversions added in v0.8.0

func RegisterConversions(s *runtime.Scheme) error

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

func WarnAsFatal

func WarnAsFatal(opts *UnmarshalINIOptions)

WarnAsFatal sets the option to treat warnings as fatal errors when unmarshalling INI data.

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 int32 `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.

func (APIEndpoint) IsZero

func (v APIEndpoint) IsZero() bool

IsZero returns true if either the host or the port are zero values.

func (APIEndpoint) String

func (v APIEndpoint) String() string

String returns a formatted version HOST:PORT of this APIEndpoint.

type AllowedNamespaces added in v0.7.8

type AllowedNamespaces struct {
	// Selector is a standard Kubernetes LabelSelector. A label query over a set of resources.
	// +optional
	Selector metav1.LabelSelector `json:"selector"`
}

func (*AllowedNamespaces) DeepCopy added in v0.7.8

func (in *AllowedNamespaces) DeepCopy() *AllowedNamespaces

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

func (*AllowedNamespaces) DeepCopyInto added in v0.7.8

func (in *AllowedNamespaces) DeepCopyInto(out *AllowedNamespaces)

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

type CPICloudConfig

type CPICloudConfig struct {
	ControllerImage string `json:"controllerImage,omitempty"`
	// ExtraArgs passes through extra arguments to the cloud provider.
	// The arguments here are passed to the cloud provider daemonset specification
	// +optional
	ExtraArgs map[string]string `json:"extraArgs,omitempty"`
}

func (*CPICloudConfig) DeepCopy

func (in *CPICloudConfig) DeepCopy() *CPICloudConfig

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

func (*CPICloudConfig) DeepCopyInto

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

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

func (*CPICloudConfig) MarshalCloudProviderArgs added in v0.6.3

func (cpic *CPICloudConfig) MarshalCloudProviderArgs() []string

MarshalCloudProviderArgs marshals the cloud provider arguments for passing into a pod spec

type CPIConfig

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. DEPRECATED: will be removed in v1alpha4

func (*CPIConfig) DeepCopy

func (in *CPIConfig) DeepCopy() *CPIConfig

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

func (*CPIConfig) DeepCopyInto

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

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

func (*CPIConfig) MarshalINI

func (c *CPIConfig) MarshalINI() ([]byte, error)

MarshalINI marshals the cloud provider configuration to INI-style configuration data.

func (*CPIConfig) UnmarshalINI

func (c *CPIConfig) UnmarshalINI(data []byte, optFuncs ...UnmarshalINIOptionFunc) error

UnmarshalINI unmarshals the cloud provider configuration from INI-style configuration data.

type CPIDiskConfig

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

func (in *CPIDiskConfig) DeepCopy() *CPIDiskConfig

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

func (*CPIDiskConfig) DeepCopyInto

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

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

func (in *CPIGlobalConfig) DeepCopy() *CPIGlobalConfig

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

func (*CPIGlobalConfig) DeepCopyInto

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

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

func (in *CPILabelConfig) DeepCopy() *CPILabelConfig

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

func (*CPILabelConfig) DeepCopyInto

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

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

func (in *CPINetworkConfig) DeepCopy() *CPINetworkConfig

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

func (*CPINetworkConfig) DeepCopyInto

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

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

func (in *CPIProviderConfig) DeepCopy() *CPIProviderConfig

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

func (*CPIProviderConfig) DeepCopyInto

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

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

func (in *CPIStorageConfig) DeepCopy() *CPIStorageConfig

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

func (*CPIStorageConfig) DeepCopyInto

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

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

func (in *CPIVCenterConfig) DeepCopy() *CPIVCenterConfig

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

func (*CPIVCenterConfig) DeepCopyInto

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

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

func (in *CPIWorkspaceConfig) DeepCopy() *CPIWorkspaceConfig

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

func (*CPIWorkspaceConfig) DeepCopyInto

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

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

type CloneMode

type CloneMode string

CloneMode is the type of clone operation used to clone a VM from a template.

const (
	// FullClone indicates a VM will have no relationship to the source of the
	// clone operation once the operation is complete. This is the safest clone
	// mode, but it is not the fastest.
	FullClone CloneMode = "fullClone"

	// LinkedClone means resulting VMs will be dependent upon the snapshot of
	// the source VM/template from which the VM was cloned. This is the fastest
	// clone mode, but it also prevents expanding a VMs disk beyond the size of
	// the source VM/template.
	LinkedClone CloneMode = "linkedClone"
)

type FailureDomain added in v0.7.9

type FailureDomain struct {
	// Name is the name of the tag that represents this failure domain
	Name string `json:"name"`

	// Type is the type of failure domain, the current values are "Datacenter", "ComputeCluster" and "HostGroup"
	// +kubebuilder:validation:Enum=Datacenter;ComputeCluster;HostGroup
	Type FailureDomainType `json:"type"`

	// TagCategory is the category used for the tag
	TagCategory string `json:"tagCategory"`

	// AutoConfigure tags the Type which is specified in the Topology
	AutoConfigure *bool `json:"autoConfigure,omitempty"`
}

func (*FailureDomain) DeepCopy added in v0.7.9

func (in *FailureDomain) DeepCopy() *FailureDomain

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

func (*FailureDomain) DeepCopyInto added in v0.7.9

func (in *FailureDomain) DeepCopyInto(out *FailureDomain)

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

type FailureDomainHosts added in v0.7.9

type FailureDomainHosts struct {
	// VMGroupName is the name of the VM group
	VMGroupName string `json:"vmGroupName"`

	// HostGroupName is the name of the Host group
	HostGroupName string `json:"hostGroupName"`
}

func (*FailureDomainHosts) DeepCopy added in v0.7.9

func (in *FailureDomainHosts) DeepCopy() *FailureDomainHosts

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

func (*FailureDomainHosts) DeepCopyInto added in v0.7.9

func (in *FailureDomainHosts) DeepCopyInto(out *FailureDomainHosts)

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

type FailureDomainType added in v0.7.9

type FailureDomainType string
const (
	HostGroupFailureDomain      FailureDomainType = "HostGroup"
	ComputeClusterFailureDomain FailureDomainType = "ComputeCluster"
	DatacenterFailureDomain     FailureDomainType = "Datacenter"
)

type HAProxyLoadBalancer

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

	Spec   HAProxyLoadBalancerSpec   `json:"spec,omitempty"`
	Status HAProxyLoadBalancerStatus `json:"status,omitempty"`
}

HAProxyLoadBalancer is the Schema for the haproxyloadbalancers API DEPRECATED: will be removed in v1alpha4

func (*HAProxyLoadBalancer) DeepCopy

func (in *HAProxyLoadBalancer) DeepCopy() *HAProxyLoadBalancer

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

func (*HAProxyLoadBalancer) DeepCopyInto

func (in *HAProxyLoadBalancer) DeepCopyInto(out *HAProxyLoadBalancer)

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

func (*HAProxyLoadBalancer) DeepCopyObject

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

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

func (*HAProxyLoadBalancer) Hub

func (*HAProxyLoadBalancer) Hub()

Hub marks HAProxyLoadBalancer as a conversion hub.

type HAProxyLoadBalancerList

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

HAProxyLoadBalancerList contains a list of HAProxyLoadBalancer

func (*HAProxyLoadBalancerList) DeepCopy

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

func (*HAProxyLoadBalancerList) DeepCopyInto

func (in *HAProxyLoadBalancerList) DeepCopyInto(out *HAProxyLoadBalancerList)

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

func (*HAProxyLoadBalancerList) DeepCopyObject

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

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

func (*HAProxyLoadBalancerList) Hub

func (*HAProxyLoadBalancerList) Hub()

Hub marks HAProxyLoadBalancerList as a conversion hub.

type HAProxyLoadBalancerSpec

type HAProxyLoadBalancerSpec struct {
	// VirtualMachineConfiguration is information used to deploy a load balancer
	// VM.
	VirtualMachineConfiguration VirtualMachineCloneSpec `json:"virtualMachineConfiguration"`

	// SSHUser specifies the name of a user that is granted remote access to the
	// deployed VM.
	// +optional
	User *SSHUser `json:"user,omitempty"`
}

HAProxyLoadBalancerSpec defines the desired state of HAProxyLoadBalancer.

func (*HAProxyLoadBalancerSpec) DeepCopy

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

func (*HAProxyLoadBalancerSpec) DeepCopyInto

func (in *HAProxyLoadBalancerSpec) DeepCopyInto(out *HAProxyLoadBalancerSpec)

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

type HAProxyLoadBalancerStatus

type HAProxyLoadBalancerStatus struct {
	// Ready indicates whether or not the load balancer is ready.
	//
	// This field is required as part of the Portable Load Balancer model and is
	// inspected via an unstructured reader by other controllers to determine
	// the status of the load balancer.
	//
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Address is the IP address or DNS name of the load balancer.
	//
	// This field is required as part of the Portable Load Balancer model and is
	// inspected via an unstructured reader by other controllers to determine
	// the status of the load balancer.
	//
	// +optional
	Address string `json:"address,omitempty"`
}

HAProxyLoadBalancerStatus defines the observed state of HAProxyLoadBalancer.

func (*HAProxyLoadBalancerStatus) DeepCopy

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

func (*HAProxyLoadBalancerStatus) DeepCopyInto

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

type Network added in v0.8.0

type Network struct {
	// Name is the network name for this machine's VM.
	Name string `json:"name,omitempty"`

	// DHCP4 is a flag that indicates whether or not to use DHCP for IPv4
	// +optional
	DHCP4 *bool `json:"dhcp4,omitempty"`

	// DHCP6 indicates whether or not to use DHCP for IPv6
	// +optional
	DHCP6 *bool `json:"dhcp6,omitempty"`
}

func (*Network) DeepCopy added in v0.8.0

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto added in v0.8.0

func (in *Network) DeepCopyInto(out *Network)

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 PlacementConstraint added in v0.7.9

type PlacementConstraint struct {
	// ResourcePool is the name or inventory path of the resource pool in which
	// the virtual machine is created/located.
	// +optional
	ResourcePool string `json:"resourcePool,omitempty"`

	// Folder is the name or inventory path of the folder in which the
	// virtual machine is created/located.
	// +optional
	Folder string `json:"folder,omitempty"`
}

PlacementConstraint is the context information for VM placements within a failure domain

func (*PlacementConstraint) DeepCopy added in v0.7.9

func (in *PlacementConstraint) DeepCopy() *PlacementConstraint

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

func (*PlacementConstraint) DeepCopyInto added in v0.7.9

func (in *PlacementConstraint) DeepCopyInto(out *PlacementConstraint)

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

type SSHUser

type SSHUser struct {
	// Name is the name of the SSH user.
	Name string `json:"name"`
	// AuthorizedKeys is one or more public SSH keys that grant remote access.
	AuthorizedKeys []string `json:"authorizedKeys"`
}

SSHUser is granted remote access to a system.

func (*SSHUser) DeepCopy

func (in *SSHUser) DeepCopy() *SSHUser

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

func (*SSHUser) DeepCopyInto

func (in *SSHUser) DeepCopyInto(out *SSHUser)

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

type Topology added in v0.7.9

type Topology struct {
	// The underlying infrastructure for this failure domain
	// Datacenter as the failure domain
	Datacenter string `json:"datacenter"`

	// ComputeCluster as the failure domain
	// +optional
	ComputeCluster *string `json:"computeCluster,omitempty"`

	// Hosts has information required for placement of machines on VSphere hosts.
	// +optional
	Hosts *FailureDomainHosts `json:"hosts,omitempty"`

	// Networks is the list of networks within this failure domain
	// +optional
	Networks []string `json:"networks,omitempty"`

	// Datastore is the name or inventory path of the datastore in which the
	// virtual machine is created/located.
	// +optional
	Datastore string `json:"datastore,omitempty"`
}

func (*Topology) DeepCopy added in v0.7.9

func (in *Topology) DeepCopy() *Topology

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

func (*Topology) DeepCopyInto added in v0.7.9

func (in *Topology) DeepCopyInto(out *Topology)

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

type UnmarshalINIOptionFunc

type UnmarshalINIOptionFunc func(*UnmarshalINIOptions)

UnmarshalINIOptionFunc is used to set unmarshal options.

+kubebuilder:object:generate=false

type UnmarshalINIOptions

type UnmarshalINIOptions struct {
	// WarnAsFatal indicates that warnings that occur when unmarshalling INI
	// data should be treated as fatal errors.
	WarnAsFatal bool
}

UnmarshalINIOptions defines the options used to influence how INI data is unmarshalled.

+kubebuilder:object:generate=false

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.8.0

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereCluster.

func (*VSphereCluster) ConvertTo added in v0.8.0

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

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

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) GetConditions added in v0.7.0

func (m *VSphereCluster) GetConditions() clusterv1.Conditions

func (*VSphereCluster) SetConditions added in v0.7.0

func (m *VSphereCluster) SetConditions(conditions clusterv1.Conditions)

type VSphereClusterIdentity added in v0.7.8

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

	Spec   VSphereClusterIdentitySpec   `json:"spec,omitempty"`
	Status VSphereClusterIdentityStatus `json:"status,omitempty"`
}

VSphereClusterIdentity defines the account to be used for reconciling clusters

func (*VSphereClusterIdentity) DeepCopy added in v0.7.8

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

func (*VSphereClusterIdentity) DeepCopyInto added in v0.7.8

func (in *VSphereClusterIdentity) DeepCopyInto(out *VSphereClusterIdentity)

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

func (*VSphereClusterIdentity) DeepCopyObject added in v0.7.8

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

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

func (*VSphereClusterIdentity) GetConditions added in v0.7.8

func (c *VSphereClusterIdentity) GetConditions() clusterv1.Conditions

func (*VSphereClusterIdentity) SetConditions added in v0.7.8

func (c *VSphereClusterIdentity) SetConditions(conditions clusterv1.Conditions)

type VSphereClusterIdentityList added in v0.7.8

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

+kubebuilder:object:root=true VSphereClusterIdentityList contains a list of VSphereClusterIdentity

func (*VSphereClusterIdentityList) DeepCopy added in v0.7.8

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

func (*VSphereClusterIdentityList) DeepCopyInto added in v0.7.8

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

func (*VSphereClusterIdentityList) DeepCopyObject added in v0.7.8

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

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

type VSphereClusterIdentitySpec added in v0.7.8

type VSphereClusterIdentitySpec struct {
	// SecretName references a Secret inside the controller namespace with the credentials to use
	// +kubebuilder:validation:MinLength=1
	SecretName string `json:"secretName,omitempty"`

	// AllowedNamespaces is used to identify which namespaces are allowed to use this account.
	// Namespaces can be selected with a label selector.
	// If this object is nil, no namespaces will be allowed
	// +optional
	AllowedNamespaces *AllowedNamespaces `json:"allowedNamespaces,omitempty"`
}

func (*VSphereClusterIdentitySpec) DeepCopy added in v0.7.8

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

func (*VSphereClusterIdentitySpec) DeepCopyInto added in v0.7.8

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

type VSphereClusterIdentityStatus added in v0.7.8

type VSphereClusterIdentityStatus struct {
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Conditions defines current service state of the VSphereCluster.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

func (*VSphereClusterIdentityStatus) DeepCopy added in v0.7.8

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

func (*VSphereClusterIdentityStatus) DeepCopyInto added in v0.7.8

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

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.8.0

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

ConvertFrom converts this VSphereVM to the Hub version (v1beta1).

func (*VSphereClusterList) ConvertTo added in v0.8.0

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

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

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.
	// DEPRECATED: will be removed in v1alpha4
	// +optional
	Insecure *bool `json:"insecure,omitempty"`

	// Thumbprint is the colon-separated SHA-1 checksum of the given vCenter server's host certificate
	// When provided, Insecure should not be set to true
	// +optional
	Thumbprint string `json:"thumbprint,omitempty"`

	// CloudProviderConfiguration holds the cluster-wide configuration for the
	// DEPRECATED: will be removed in v1alpha4
	// vSphere cloud provider.
	CloudProviderConfiguration CPIConfig `json:"cloudProviderConfiguration,omitempty"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint"`

	// LoadBalancerRef may be used to enable a control plane load balancer
	// for this cluster.
	// When a LoadBalancerRef is provided, the VSphereCluster.Status.Ready field
	// will not be true until the referenced resource is Status.Ready and has a
	// non-empty Status.Address value.
	// DEPRECATED: will be removed in v1alpha4
	// +optional
	LoadBalancerRef *corev1.ObjectReference `json:"loadBalancerRef,omitempty"`

	// IdentityRef is a reference to either a Secret or VSphereClusterIdentity that contains
	// the identity to use when reconciling the cluster.
	// +optional
	IdentityRef *VSphereIdentityReference `json:"identityRef,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 {
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Conditions defines current service state of the VSphereCluster.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`

	// FailureDomains is a list of failure domain objects synced from the infrastructure provider.
	FailureDomains clusterv1.FailureDomains `json:"failureDomains,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 VSphereDeploymentZone added in v0.7.9

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

	Spec   VSphereDeploymentZoneSpec   `json:"spec,omitempty"`
	Status VSphereDeploymentZoneStatus `json:"status,omitempty"`
}

VSphereDeploymentZone is the Schema for the vspheredeploymentzones API

func (*VSphereDeploymentZone) ConvertFrom added in v1.0.2

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereDeploymentZone.

func (*VSphereDeploymentZone) ConvertTo added in v1.0.2

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

ConvertTo converts this VSphereDeploymentZone to the Hub version (v1beta1).

func (*VSphereDeploymentZone) DeepCopy added in v0.7.9

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

func (*VSphereDeploymentZone) DeepCopyInto added in v0.7.9

func (in *VSphereDeploymentZone) DeepCopyInto(out *VSphereDeploymentZone)

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

func (*VSphereDeploymentZone) DeepCopyObject added in v0.7.9

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

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

type VSphereDeploymentZoneList added in v0.7.9

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

VSphereDeploymentZoneList contains a list of VSphereDeploymentZone

func (*VSphereDeploymentZoneList) ConvertFrom added in v1.0.2

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

ConvertFrom converts this VSphereDeploymentZoneList to the Hub version (v1beta1).

func (*VSphereDeploymentZoneList) ConvertTo added in v1.0.2

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

ConvertTo converts this VSphereDeploymentZoneList to the Hub version (v1beta1).

func (*VSphereDeploymentZoneList) DeepCopy added in v0.7.9

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

func (*VSphereDeploymentZoneList) DeepCopyInto added in v0.7.9

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

func (*VSphereDeploymentZoneList) DeepCopyObject added in v0.7.9

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

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

type VSphereDeploymentZoneSpec added in v0.7.9

type VSphereDeploymentZoneSpec struct {

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

	// failureDomain is the name of the VSphereFailureDomain used for this VSphereDeploymentZone
	FailureDomain string `json:"failureDomain,omitempty"`

	// ControlPlane determines if this failure domain is suitable for use by control plane machines.
	// +optional
	ControlPlane *bool `json:"controlPlane,omitempty"`

	// PlacementConstraint encapsulates the placement constraints
	// used within this deployment zone.
	PlacementConstraint PlacementConstraint `json:"placementConstraint"`
}

VSphereDeploymentZoneSpec defines the desired state of VSphereDeploymentZone

func (*VSphereDeploymentZoneSpec) DeepCopy added in v0.7.9

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

func (*VSphereDeploymentZoneSpec) DeepCopyInto added in v0.7.9

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

type VSphereDeploymentZoneStatus added in v0.7.9

type VSphereDeploymentZoneStatus struct {
	// Ready is true when the VSphereDeploymentZone resource is ready.
	// If set to false, it will be ignored by VSphereClusters
	// +optional
	Ready *bool `json:"ready,omitempty"`

	// Conditions defines current service state of the VSphereMachine.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

func (*VSphereDeploymentZoneStatus) DeepCopy added in v0.7.9

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

func (*VSphereDeploymentZoneStatus) DeepCopyInto added in v0.7.9

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

type VSphereFailureDomain added in v0.7.9

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

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

VSphereFailureDomain is the Schema for the vspherefailuredomains API

func (*VSphereFailureDomain) ConvertFrom added in v1.0.2

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereFailureDomain.

func (*VSphereFailureDomain) ConvertTo added in v1.0.2

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

ConvertTo converts this VSphereFailureDomain to the Hub version (v1beta1).

func (*VSphereFailureDomain) DeepCopy added in v0.7.9

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

func (*VSphereFailureDomain) DeepCopyInto added in v0.7.9

func (in *VSphereFailureDomain) DeepCopyInto(out *VSphereFailureDomain)

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

func (*VSphereFailureDomain) DeepCopyObject added in v0.7.9

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

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

type VSphereFailureDomainList added in v0.7.9

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

VSphereFailureDomainList contains a list of VSphereFailureDomain

func (*VSphereFailureDomainList) ConvertFrom added in v1.0.2

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

ConvertFrom converts this VSphereFailureDomainList to the Hub version (v1beta1).

func (*VSphereFailureDomainList) ConvertTo added in v1.0.2

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

ConvertTo converts this VSphereFailureDomainList to the Hub version (v1beta1).

func (*VSphereFailureDomainList) DeepCopy added in v0.7.9

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

func (*VSphereFailureDomainList) DeepCopyInto added in v0.7.9

func (in *VSphereFailureDomainList) DeepCopyInto(out *VSphereFailureDomainList)

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

func (*VSphereFailureDomainList) DeepCopyObject added in v0.7.9

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

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

type VSphereFailureDomainSpec added in v0.7.9

type VSphereFailureDomainSpec struct {

	// Region defines the name and type of a region
	Region FailureDomain `json:"region"`

	// Zone defines the name and type of a zone
	Zone FailureDomain `json:"zone"`

	// Topology is the what describes a given failure domain using vSphere constructs
	Topology Topology `json:"topology"`
}

VSphereFailureDomainSpec defines the desired state of VSphereFailureDomain

func (*VSphereFailureDomainSpec) DeepCopy added in v0.7.9

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

func (*VSphereFailureDomainSpec) DeepCopyInto added in v0.7.9

func (in *VSphereFailureDomainSpec) DeepCopyInto(out *VSphereFailureDomainSpec)

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

type VSphereIdentityKind added in v0.7.8

type VSphereIdentityKind string

type VSphereIdentityReference added in v0.7.8

type VSphereIdentityReference struct {
	// Kind of the identity. Can either be VSphereClusterIdentity or Secret
	// +kubebuilder:validation:Enum=VSphereClusterIdentity;Secret
	Kind VSphereIdentityKind `json:"kind"`

	// Name of the identity.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
}

func (*VSphereIdentityReference) DeepCopy added in v0.7.8

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

func (*VSphereIdentityReference) DeepCopyInto added in v0.7.8

func (in *VSphereIdentityReference) DeepCopyInto(out *VSphereIdentityReference)

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.8.0

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereMachine.

func (*VSphereMachine) ConvertTo added in v0.8.0

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

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

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) GetConditions added in v0.7.0

func (m *VSphereMachine) GetConditions() clusterv1.Conditions

func (*VSphereMachine) SetConditions added in v0.7.0

func (m *VSphereMachine) SetConditions(conditions clusterv1.Conditions)

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.8.0

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereMachineList.

func (*VSphereMachineList) ConvertTo added in v0.8.0

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

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

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 {
	VirtualMachineCloneSpec `json:",inline"`

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

	// FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.
	// For this infrastructure provider, the name is equivalent to the name of the VSphereDeploymentZone.
	FailureDomain *string `json:"failureDomain,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 []clusterv1.MachineAddress `json:"addresses,omitempty"`

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

	// FailureReason 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
	FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"`

	// FailureMessage 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
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the VSphereMachine.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,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.8.0

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

func (*VSphereMachineTemplate) ConvertTo added in v0.8.0

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

ConvertTo

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.

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.8.0

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

func (*VSphereMachineTemplateList) ConvertTo added in v0.8.0

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

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 {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta 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 VSphereVM

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

	Spec   VSphereVMSpec   `json:"spec,omitempty"`
	Status VSphereVMStatus `json:"status,omitempty"`
}

VSphereVM is the Schema for the vspherevms API

func (*VSphereVM) ConvertFrom added in v0.8.0

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

ConvertFrom converts from the Hub version (v1beta1) to this VSphereVM.

func (*VSphereVM) ConvertTo added in v0.8.0

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

ConvertTo converts this VSphereVM to the Hub version (v1beta1).

func (*VSphereVM) DeepCopy

func (in *VSphereVM) DeepCopy() *VSphereVM

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

func (*VSphereVM) DeepCopyInto

func (in *VSphereVM) DeepCopyInto(out *VSphereVM)

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

func (*VSphereVM) DeepCopyObject

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

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

func (*VSphereVM) GetConditions added in v0.7.0

func (m *VSphereVM) GetConditions() clusterv1.Conditions

func (*VSphereVM) SetConditions added in v0.7.0

func (m *VSphereVM) SetConditions(conditions clusterv1.Conditions)

type VSphereVMList

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

VSphereVMList contains a list of VSphereVM

func (*VSphereVMList) ConvertFrom added in v0.8.0

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

ConvertFrom converts this VSphereVM to the Hub version (v1beta1).

func (*VSphereVMList) ConvertTo added in v0.8.0

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

ConvertTo converts this VSphereVMList to the Hub version (v1beta1).

func (*VSphereVMList) DeepCopy

func (in *VSphereVMList) DeepCopy() *VSphereVMList

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

func (*VSphereVMList) DeepCopyInto

func (in *VSphereVMList) DeepCopyInto(out *VSphereVMList)

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

func (*VSphereVMList) DeepCopyObject

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

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

type VSphereVMSpec

type VSphereVMSpec struct {
	VirtualMachineCloneSpec `json:",inline"`

	// BootstrapRef is a reference to a bootstrap provider-specific resource
	// that holds configuration details.
	// This field is optional in case no bootstrap data is required to create
	// a VM.
	// +optional
	BootstrapRef *corev1.ObjectReference `json:"bootstrapRef,omitempty"`

	// BiosUUID is the the VM's BIOS UUID that is assigned at runtime after
	// the VM has been created.
	// This field is required at runtime for other controllers that read
	// this CRD as unstructured data.
	// +optional
	BiosUUID string `json:"biosUUID,omitempty"`
}

VSphereVMSpec defines the desired state of VSphereVM.

func (*VSphereVMSpec) DeepCopy

func (in *VSphereVMSpec) DeepCopy() *VSphereVMSpec

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

func (*VSphereVMSpec) DeepCopyInto

func (in *VSphereVMSpec) DeepCopyInto(out *VSphereVMSpec)

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

type VSphereVMStatus

type VSphereVMStatus struct {
	// Ready is true when the provider resource is ready.
	// This field is required at runtime for other controllers that read
	// this CRD as unstructured data.
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Addresses is a list of the VM's IP addresses.
	// This field is required at runtime for other controllers that read
	// this CRD as unstructured data.
	// +optional
	Addresses []string `json:"addresses,omitempty"`

	// CloneMode is the type of clone operation used to clone this VM. Since
	// LinkedMode is the default but fails gracefully if the source of the
	// clone has no snapshots, this field may be used to determine the actual
	// type of clone operation used to create this VM.
	// +optional
	CloneMode CloneMode `json:"cloneMode,omitempty"`

	// Snapshot is the name of the snapshot from which the VM was cloned if
	// LinkedMode is enabled.
	// +optional
	Snapshot string `json:"snapshot,omitempty"`

	// RetryAfter tracks the time we can retry queueing a task
	// +optional
	RetryAfter metav1.Time `json:"retryAfter,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:"network,omitempty"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the vspherevm and will contain a succinct value suitable
	// for vm 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 vm.
	//
	// Any transient errors that occur during the reconciliation of vspherevms
	// can be added as events to the vspherevm object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the vspherevm 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 vm.
	//
	// Any transient errors that occur during the reconciliation of vspherevms
	// can be added as events to the vspherevm object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the VSphereVM.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

VSphereVMStatus defines the observed state of VSphereVM

func (*VSphereVMStatus) DeepCopy

func (in *VSphereVMStatus) DeepCopy() *VSphereVMStatus

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

func (*VSphereVMStatus) DeepCopyInto

func (in *VSphereVMStatus) DeepCopyInto(out *VSphereVMStatus)

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 VirtualMachineCloneSpec

type VirtualMachineCloneSpec struct {
	// Template is the name or inventory path of the template used to clone
	// the virtual machine.
	// +kubebuilder:validation:MinLength=1
	Template string `json:"template"`

	// CloneMode specifies the type of clone operation.
	// The LinkedClone mode is only support for templates that have at least
	// one snapshot. If the template has no snapshots, then CloneMode defaults
	// to FullClone.
	// When LinkedClone mode is enabled the DiskGiB field is ignored as it is
	// not possible to expand disks of linked clones.
	// Defaults to LinkedClone, but fails gracefully to FullClone if the source
	// of the clone operation has no snapshots.
	// +optional
	CloneMode CloneMode `json:"cloneMode,omitempty"`

	// Snapshot is the name of the snapshot from which to create a linked clone.
	// This field is ignored if LinkedClone is not enabled.
	// Defaults to the source's current snapshot.
	// +optional
	Snapshot string `json:"snapshot,omitempty"`

	// Server is the IP address or FQDN of the vSphere server on which
	// the virtual machine is created/located.
	// +optional
	Server string `json:"server,omitempty"`

	// Thumbprint is the colon-separated SHA-1 checksum of the given vCenter server's host certificate
	// When this is set to empty, this VirtualMachine would be created
	// without TLS certificate validation of the communication between Cluster API Provider vSphere
	// and the VMware vCenter server.
	// +optional
	Thumbprint string `json:"thumbprint,omitempty"`

	// Datacenter is the name or inventory path of the datacenter in which the
	// virtual machine is created/located.
	// +optional
	Datacenter string `json:"datacenter,omitempty"`

	// Folder is the name or inventory path of the folder in which the
	// virtual machine is created/located.
	// +optional
	Folder string `json:"folder,omitempty"`

	// Datastore is the name or inventory path of the datastore in which the
	// virtual machine is created/located.
	// +optional
	Datastore string `json:"datastore,omitempty"`

	// StoragePolicyName of the storage policy to use with this
	// Virtual Machine
	// +optional
	StoragePolicyName string `json:"storagePolicyName,omitempty"`

	// ResourcePool is the name or inventory path of the resource pool in which
	// the virtual machine is created/located.
	// +optional
	ResourcePool string `json:"resourcePool,omitempty"`

	// 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 eponymous property value in the template from which the
	// virtual 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 eponymous property value in the template from which the
	// virtual machine is cloned.
	// +optional
	NumCoresPerSocket int32 `json:"numCoresPerSocket,omitempty"`
	// MemoryMiB is the size of a virtual machine's memory, in MiB.
	// Defaults to the eponymous property value in the template from which the
	// virtual machine is cloned.
	// +optional
	MemoryMiB int64 `json:"memoryMiB,omitempty"`
	// DiskGiB is the size of a virtual machine's disk, in GiB.
	// Defaults to the eponymous property value in the template from which the
	// virtual machine is cloned.
	// +optional
	DiskGiB int32 `json:"diskGiB,omitempty"`
	// CustomVMXKeys is a dictionary of advanced VMX options that can be set on VM
	// Defaults to empty map
	// +optional
	CustomVMXKeys map[string]string `json:"customVMXKeys,omitempty"`
}

VirtualMachineCloneSpec is information used to clone a virtual machine.

func (*VirtualMachineCloneSpec) DeepCopy

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

func (*VirtualMachineCloneSpec) DeepCopyInto

func (in *VirtualMachineCloneSpec) DeepCopyInto(out *VirtualMachineCloneSpec)

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