v1beta1

package
v0.0.0-...-7528e67 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSProviderSpecBuilder

type AWSProviderSpecBuilder struct {
	// contains filtered or unexported fields
}

AWSProviderSpecBuilder is used to build out a AWS machine config object. All the fields of this struct are a pointer to the corresponding original type in the machinev1beta1.AWSMachineProviderConfig. This is done to enable representing the value not being specified in the building chain (so it can be defaulted), versus it being specified, either for setting it to a custom value or to the zero-value of that type.

func AWSProviderSpec

func AWSProviderSpec() AWSProviderSpecBuilder

AWSProviderSpec creates a new AWS machine config builder.

func (AWSProviderSpecBuilder) Build

Build builds a new AWS machine config based on the configuration provided.

func (AWSProviderSpecBuilder) BuildRawExtension

func (m AWSProviderSpecBuilder) BuildRawExtension() *runtime.RawExtension

BuildRawExtension builds a new AWS machine config based on the configuration provided.

func (AWSProviderSpecBuilder) WithAMI

WithAMI sets the AMI for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithAvailabilityZone

func (m AWSProviderSpecBuilder) WithAvailabilityZone(az string) AWSProviderSpecBuilder

WithAvailabilityZone sets the availabilityZone for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithBlockDevices

WithBlockDevices sets the BlockDevices for the AWS machine config builder. Use WithBlockDevices(nil), to set them to the zero value.

func (AWSProviderSpecBuilder) WithCredentialsSecret

func (m AWSProviderSpecBuilder) WithCredentialsSecret(credentialsSecret *corev1.LocalObjectReference) AWSProviderSpecBuilder

WithCredentialsSecret sets the CredentialsSecret for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithDeviceIndex

func (m AWSProviderSpecBuilder) WithDeviceIndex(deviceIndex int64) AWSProviderSpecBuilder

WithDeviceIndex sets the DeviceIndex for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithHostPlacement

func (m AWSProviderSpecBuilder) WithHostPlacement(hostPlacement *machinev1beta1.HostPlacement) AWSProviderSpecBuilder

func (AWSProviderSpecBuilder) WithIAMInstanceProfile

func (m AWSProviderSpecBuilder) WithIAMInstanceProfile(iamInstanceProfile *machinev1beta1.AWSResourceReference) AWSProviderSpecBuilder

WithIAMInstanceProfile sets the AMI for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithInstanceType

func (m AWSProviderSpecBuilder) WithInstanceType(instanceType string) AWSProviderSpecBuilder

WithInstanceType sets the instanceType for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithKeyName

func (m AWSProviderSpecBuilder) WithKeyName(keyName *string) AWSProviderSpecBuilder

WithKeyName sets the keyName for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithLoadBalancers

WithLoadBalancers sets the LoadBalancers for the AWS machine config builder. Use WithLoadBalancers(nil), to set them to the zero value.

func (AWSProviderSpecBuilder) WithMetadataServiceOptions

WithMetadataServiceOptions sets the MetadataServiceOptions for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithNetworkInterfaceType

WithNetworkInterfaceType sets the NetworkInterfaceType for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithPlacement

WithPlacement sets the Placement for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithPlacementGroupName

func (m AWSProviderSpecBuilder) WithPlacementGroupName(placementGroupName string) AWSProviderSpecBuilder

WithPlacementGroupName sets the PlacementGroupName for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithPublicIP

func (m AWSProviderSpecBuilder) WithPublicIP(publicIP *bool) AWSProviderSpecBuilder

WithPublicIP sets the PublicIP for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithRegion

WithRegion sets the region for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithSecurityGroups

WithSecurityGroups sets the securityGroups for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithSpotMarketOptions

WithSpotMarketOptions sets the SpotMarketOptions for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithSubnet

WithSubnet sets the subnet for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithTags

WithTags sets the tags for the AWS machine config builder.

func (AWSProviderSpecBuilder) WithUserDataSecret

func (m AWSProviderSpecBuilder) WithUserDataSecret(userDataSecret *corev1.LocalObjectReference) AWSProviderSpecBuilder

WithUserDataSecret sets the UserDataSecret for the AWS machine config builder.

type AzureProviderSpecBuilder

type AzureProviderSpecBuilder struct {
	// contains filtered or unexported fields
}

AzureProviderSpecBuilder is used to build a Azure machine config object.

func AzureProviderSpec

func AzureProviderSpec() AzureProviderSpecBuilder

AzureProviderSpec creates a new Azure machine config builder.

func (AzureProviderSpecBuilder) Build

Build builds a new Azure machine config based on the configuration provided.

func (AzureProviderSpecBuilder) BuildRawExtension

func (m AzureProviderSpecBuilder) BuildRawExtension() *runtime.RawExtension

BuildRawExtension builds a new Azure machine config based on the configuration provided.

func (AzureProviderSpecBuilder) WithImage

WithImage sets the image for the Azure machine config builder.

func (AzureProviderSpecBuilder) WithInternalLoadBalancer

func (m AzureProviderSpecBuilder) WithInternalLoadBalancer(lb string) AzureProviderSpecBuilder

WithInternalLoadBalancer sets the internalLoadBalancer for the Azure machine config builder.

func (AzureProviderSpecBuilder) WithSubnet

WithZone sets the availabilityZone for the Azure machine config builder.

func (AzureProviderSpecBuilder) WithVMSize

WithVMSize sets the VMSize (Instance type) for the Azure machine config builder.

func (AzureProviderSpecBuilder) WithZone

WithZone sets the availabilityZone for the Azure machine config builder.

type GCPProviderSpecBuilder

type GCPProviderSpecBuilder struct {
	// contains filtered or unexported fields
}

GCPProviderSpecBuilder is used to build a GCP machine config object.

func GCPProviderSpec

func GCPProviderSpec() GCPProviderSpecBuilder

GCPProviderSpec creates a new GCP machine config builder.

func (GCPProviderSpecBuilder) Build

Build builds a new GCP machine config based on the configuration provided.

func (GCPProviderSpecBuilder) BuildRawExtension

func (m GCPProviderSpecBuilder) BuildRawExtension() *runtime.RawExtension

BuildRawExtension builds a new GCP machine config based on the configuration provided.

func (GCPProviderSpecBuilder) WithDisks

WithDisks sets the disks for a machine config builder.

func (GCPProviderSpecBuilder) WithMachineType

func (m GCPProviderSpecBuilder) WithMachineType(machineType string) GCPProviderSpecBuilder

WithMachineType sets the machine type for the GCP machine config builder.

func (GCPProviderSpecBuilder) WithProjectID

func (m GCPProviderSpecBuilder) WithProjectID(project string) GCPProviderSpecBuilder

WithProjectID sets the project ID for the gcp machine config builder.

func (GCPProviderSpecBuilder) WithTargetPools

func (m GCPProviderSpecBuilder) WithTargetPools(targetPools []string) GCPProviderSpecBuilder

WithTargetPools sets the target pools for the GCP machine config builder.

func (GCPProviderSpecBuilder) WithZone

WithZone sets the zone for the GCP machine config builder.

type MachineBuilder

type MachineBuilder struct {
	// contains filtered or unexported fields
}

MachineBuilder is used to build out a machine object.

func Machine

func Machine() MachineBuilder

Machine creates a new machine builder.

func (MachineBuilder) AsMaster

func (m MachineBuilder) AsMaster() MachineBuilder

AsMaster sets the master role and type on the machine labels for the machine builder.

func (MachineBuilder) AsWorker

func (m MachineBuilder) AsWorker() MachineBuilder

AsWorker sets the worker role and type on the machine labels for the machine builder.

func (MachineBuilder) Build

Build builds a new machine based on the configuration provided.

func (MachineBuilder) WithAddresses

func (m MachineBuilder) WithAddresses(addrs []corev1.NodeAddress) MachineBuilder

WithAddresses sets the addresses status field for the machine builder.

func (MachineBuilder) WithAnnotations

func (m MachineBuilder) WithAnnotations(annotations map[string]string) MachineBuilder

WithAnnotations sets the annotations for the machine builder.

func (MachineBuilder) WithAuthoritativeAPI

func (m MachineBuilder) WithAuthoritativeAPI(authority machinev1beta1.MachineAuthority) MachineBuilder

WithAuthoritativeAPI sets the authoritativeAPI for the machine builder.

func (MachineBuilder) WithAuthoritativeAPIStatus

func (m MachineBuilder) WithAuthoritativeAPIStatus(authority machinev1beta1.MachineAuthority) MachineBuilder

WithAuthoritativeAPIStatus sets the authoritativeAPIStatus for the machine builder.

func (MachineBuilder) WithConditions

func (m MachineBuilder) WithConditions(c []machinev1beta1.Condition) MachineBuilder

WithConditions sets the conditions status field for the machine builder.

func (MachineBuilder) WithCreationTimestamp

func (m MachineBuilder) WithCreationTimestamp(time metav1.Time) MachineBuilder

WithCreationTimestamp sets the creationTimestamp for the machine builder.

func (MachineBuilder) WithDeletionTimestamp

func (m MachineBuilder) WithDeletionTimestamp(time *metav1.Time) MachineBuilder

WithDeletionTimestamp sets the deletionTimestamp for the machine builder. Note: This can only be used in unit testing as the API server will drop this field if a create/update request tries to set it.

func (MachineBuilder) WithErrorMessage

func (m MachineBuilder) WithErrorMessage(errorMsg string) MachineBuilder

WithErrorMessage sets the error message status field for the machine builder.

func (MachineBuilder) WithErrorReason

func (m MachineBuilder) WithErrorReason(errorReason machinev1beta1.MachineStatusError) MachineBuilder

WithErrorReason sets the error reason status field for the machine builder.

func (MachineBuilder) WithGenerateName

func (m MachineBuilder) WithGenerateName(generateName string) MachineBuilder

WithGenerateName sets the generateName for the machine builder.

func (MachineBuilder) WithLabel

func (m MachineBuilder) WithLabel(key, value string) MachineBuilder

WithLabel sets the labels for the machine builder.

func (MachineBuilder) WithLabels

func (m MachineBuilder) WithLabels(labels map[string]string) MachineBuilder

WithLabels sets the labels for the machine builder.

func (MachineBuilder) WithLastOperation

WithLastOperation sets the lastOperation for the machine builder.

func (MachineBuilder) WithLastUpdated

func (m MachineBuilder) WithLastUpdated(l metav1.Time) MachineBuilder

WithLastUpdated sets the lastUpdated for the machine builder.

func (MachineBuilder) WithLifecycleHooks

WithLifecycleHooks sets the lifecycleHooks for the machine builder.

func (MachineBuilder) WithMachineSpec

func (m MachineBuilder) WithMachineSpec(machineSpec machinev1beta1.MachineSpec) MachineBuilder

WithMachineSpec sets the MachineSpec field for the machine builder.

func (MachineBuilder) WithMachineSpecObjectMeta

func (m MachineBuilder) WithMachineSpecObjectMeta(machineSpecObjectMeta machinev1beta1.ObjectMeta) MachineBuilder

WithMachineSpecObjectMeta sets the ObjectMeta on the machine spec field for the machine builder.

func (MachineBuilder) WithName

func (m MachineBuilder) WithName(name string) MachineBuilder

WithName sets the name for the machine builder.

func (MachineBuilder) WithNamespace

func (m MachineBuilder) WithNamespace(namespace string) MachineBuilder

WithNamespace sets the namespace for the machine builder.

func (MachineBuilder) WithNodeRef

func (m MachineBuilder) WithNodeRef(nodeRef corev1.ObjectReference) MachineBuilder

WithNodeRef sets the node ref status field for the machine builder.

func (MachineBuilder) WithOwnerReferences

func (m MachineBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) MachineBuilder

WithOwnerReferences sets the OwnerReferences for the machine builder.

func (MachineBuilder) WithPhase

func (m MachineBuilder) WithPhase(phase string) MachineBuilder

WithPhase sets the phase status field for the machine builder.

func (MachineBuilder) WithProviderID

func (m MachineBuilder) WithProviderID(id *string) MachineBuilder

WithProviderID sets the providerID builder for the machine builder.

func (MachineBuilder) WithProviderSpec

func (m MachineBuilder) WithProviderSpec(providerSpec machinev1beta1.ProviderSpec) MachineBuilder

WithProviderSpec sets the ProviderSpec field for the machine builder.

func (MachineBuilder) WithProviderSpecBuilder

func (m MachineBuilder) WithProviderSpecBuilder(builder resourcebuilder.RawExtensionBuilder) MachineBuilder

WithProviderSpecBuilder sets the providerSpec builder for the machine builder.

func (MachineBuilder) WithProviderStatus

func (m MachineBuilder) WithProviderStatus(ps runtime.RawExtension) MachineBuilder

WithProviderStatus sets the providerStatus builder for the machine builder.

func (MachineBuilder) WithSynchronizedAPIStatus

func (m MachineBuilder) WithSynchronizedAPIStatus(synchronizedAPI machinev1beta1.SynchronizedAPI) MachineBuilder

WithSynchronizedAPIStatus sets the synchronizedAPIStatus for the machine builder.

func (MachineBuilder) WithTaints

func (m MachineBuilder) WithTaints(taints []corev1.Taint) MachineBuilder

WithTaints sets the taints field for the machine builder.

type MachineSetBuilder

type MachineSetBuilder struct {
	// contains filtered or unexported fields
}

MachineSetBuilder is used to build out a machineSet object.

func MachineSet

func MachineSet() MachineSetBuilder

MachineSet creates a new machineSet builder.

func (MachineSetBuilder) AsWorker

func (m MachineSetBuilder) AsWorker() MachineSetBuilder

AsWorker sets the worker role and type on the machineSet labels for the machineSet builder.

func (MachineSetBuilder) Build

Build builds a new machineSet based on the configuration provided.

func (MachineSetBuilder) WithAnnotations

func (m MachineSetBuilder) WithAnnotations(annotations map[string]string) MachineSetBuilder

WithAnnotations sets the annotations for the machineSet on the machineSet builder.

func (MachineSetBuilder) WithAuthoritativeAPI

func (m MachineSetBuilder) WithAuthoritativeAPI(authority machinev1beta1.MachineAuthority) MachineSetBuilder

WithAuthoritativeAPI sets the authoritativeAPI for the machineSet builder.

func (MachineSetBuilder) WithAuthoritativeAPIStatus

func (m MachineSetBuilder) WithAuthoritativeAPIStatus(authority machinev1beta1.MachineAuthority) MachineSetBuilder

WithAuthoritativeAPIStatus sets the authoritativeAPIStatus for the machine builder.

func (MachineSetBuilder) WithAvailableReplicas

func (m MachineSetBuilder) WithAvailableReplicas(n int32) MachineSetBuilder

WithAvailableReplicas sets the availableReplicas for the machineSet builder.

func (MachineSetBuilder) WithConditions

WithConditions sets the conditions status field for the machine builder.

func (MachineSetBuilder) WithCreationTimestamp

func (m MachineSetBuilder) WithCreationTimestamp(time metav1.Time) MachineSetBuilder

WithCreationTimestamp sets the creationTimestamp for the machineSet builder.

func (MachineSetBuilder) WithDeletePolicy

func (m MachineSetBuilder) WithDeletePolicy(policy string) MachineSetBuilder

WithDeletePolicy sets the deletePolicy for the machineSet builder.

func (MachineSetBuilder) WithDeletionTimestamp

func (m MachineSetBuilder) WithDeletionTimestamp(time *metav1.Time) MachineSetBuilder

WithDeletionTimestamp sets the deletionTimestamp for the machineSet builder. Note: This can only be used in unit testing as the API server will drop this field if a create/update request tries to set it.

func (MachineSetBuilder) WithErrorMessage

func (m MachineSetBuilder) WithErrorMessage(errorMsg string) MachineSetBuilder

WithErrorMessage sets the error message status field for the machine builder.

func (MachineSetBuilder) WithErrorReason

WithErrorReason sets the error reason status field for the machine builder.

func (MachineSetBuilder) WithFullyLabeledReplicas

func (m MachineSetBuilder) WithFullyLabeledReplicas(n int32) MachineSetBuilder

WithFullyLabeledReplicas sets the fullyLabeledReplicas for the machineSet builder.

func (MachineSetBuilder) WithGenerateName

func (m MachineSetBuilder) WithGenerateName(generateName string) MachineSetBuilder

WithGenerateName sets the generateName for the machineSet builder.

func (MachineSetBuilder) WithLabel

func (m MachineSetBuilder) WithLabel(key, value string) MachineSetBuilder

WithLabel sets the labels for the for the machineSet on the machineSet builder.

func (MachineSetBuilder) WithLabels

func (m MachineSetBuilder) WithLabels(labels map[string]string) MachineSetBuilder

WithLabels sets the labels for the machineSet on the machineSet builder.

func (MachineSetBuilder) WithLifecycleHooks

WithLifecycleHooks sets the lifecycleHooks for the machineSet builder.

func (MachineSetBuilder) WithMachineSetSpecSelector

func (m MachineSetBuilder) WithMachineSetSpecSelector(selector metav1.LabelSelector) MachineSetBuilder

WithMachineSetSpecSelector sets the machine label selector on the machineSet builder.

func (MachineSetBuilder) WithMachineSpec

func (m MachineSetBuilder) WithMachineSpec(machineSpec machinev1beta1.MachineSpec) MachineSetBuilder

WithMachineSpec sets the MachineSpec field for the machineSet builder.

func (MachineSetBuilder) WithMachineSpecObjectMeta

func (m MachineSetBuilder) WithMachineSpecObjectMeta(machineSpecObjectMeta machinev1beta1.ObjectMeta) MachineSetBuilder

WithMachineSpecObjectMeta sets the ObjectMeta on the machine spec field for the machineSet builder.

func (MachineSetBuilder) WithMachineTemplateAnnotations

func (m MachineSetBuilder) WithMachineTemplateAnnotations(annotations map[string]string) MachineSetBuilder

WithMachineTemplateAnnotations sets the annotations for the machine template on the machineSet builder.

func (MachineSetBuilder) WithMachineTemplateLabel

func (m MachineSetBuilder) WithMachineTemplateLabel(key, value string) MachineSetBuilder

WithMachineTemplateLabel sets the labels for the machine template on the machineSet builder.

func (MachineSetBuilder) WithMachineTemplateLabels

func (m MachineSetBuilder) WithMachineTemplateLabels(labels map[string]string) MachineSetBuilder

WithMachineTemplateLabels sets the labels for the machine template on the machineSet builder.

func (MachineSetBuilder) WithMinReadySeconds

func (m MachineSetBuilder) WithMinReadySeconds(minReadySeconds int32) MachineSetBuilder

WithMinReadySeconds sets the minReadySeconds for the machine template on the machineSet builder.

func (MachineSetBuilder) WithName

func (m MachineSetBuilder) WithName(name string) MachineSetBuilder

WithName sets the name for the machineSet builder.

func (MachineSetBuilder) WithNamespace

func (m MachineSetBuilder) WithNamespace(namespace string) MachineSetBuilder

WithNamespace sets the namespace for the machineSet builder.

func (MachineSetBuilder) WithObservedGeneration

func (m MachineSetBuilder) WithObservedGeneration(n int64) MachineSetBuilder

WithObservedGeneration sets the observedGeneration for the machineSet builder.

func (MachineSetBuilder) WithOwnerReferences

func (m MachineSetBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) MachineSetBuilder

WithOwnerReferences sets the OwnerReferences for the machineSet builder.

func (MachineSetBuilder) WithProviderSpec

func (m MachineSetBuilder) WithProviderSpec(providerSpec machinev1beta1.ProviderSpec) MachineSetBuilder

WithProviderSpec sets the ProviderSpec field for the machineSet builder.

func (MachineSetBuilder) WithProviderSpecBuilder

func (m MachineSetBuilder) WithProviderSpecBuilder(builder resourcebuilder.RawExtensionBuilder) MachineSetBuilder

WithProviderSpecBuilder sets the providerSpec builder for the machineSet builder.

func (MachineSetBuilder) WithReadyReplicas

func (m MachineSetBuilder) WithReadyReplicas(r int32) MachineSetBuilder

WithReadyReplicas sets the readyReplicas for the machineSet builder.

func (MachineSetBuilder) WithReplicas

func (m MachineSetBuilder) WithReplicas(replicas int32) MachineSetBuilder

WithReplicas sets the replicas for the machineSet builder.

func (MachineSetBuilder) WithReplicasStatus

func (m MachineSetBuilder) WithReplicasStatus(r int32) MachineSetBuilder

WithReplicasStatus sets the replicas status field for the machineSet builder.

func (MachineSetBuilder) WithSynchronizedAPIStatus

func (m MachineSetBuilder) WithSynchronizedAPIStatus(synchronizedAPI machinev1beta1.SynchronizedAPI) MachineSetBuilder

WithSynchronizedAPIStatus sets the synchronizedAPIStatus for the machineSet builder.

func (MachineSetBuilder) WithSynchronizedGeneration

func (m MachineSetBuilder) WithSynchronizedGeneration(n int64) MachineSetBuilder

WithSynchronizedGeneration sets the synchronizedGeneration for the machineSet builder.

func (MachineSetBuilder) WithTaints

func (m MachineSetBuilder) WithTaints(taints []corev1.Taint) MachineSetBuilder

WithTaints sets the taints field for the machineSet builder.

type OpenStackProviderSpecBuilder

type OpenStackProviderSpecBuilder struct {
	// contains filtered or unexported fields
}

OpenStackProviderSpecBuilder is used to build a OpenStack machine config object.

func OpenStackProviderSpec

func OpenStackProviderSpec() OpenStackProviderSpecBuilder

OpenStackProviderSpec creates a new OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) Build

Build builds a new OpenStack machine config based on the configuration provided.

func (OpenStackProviderSpecBuilder) BuildRawExtension

func (m OpenStackProviderSpecBuilder) BuildRawExtension() *runtime.RawExtension

BuildRawExtension builds a new OpenStack machine config based on the configuration provided.

func (OpenStackProviderSpecBuilder) WithAdditionalBlockDevices

func (m OpenStackProviderSpecBuilder) WithAdditionalBlockDevices(additionalBlockDevices []machinev1alpha1.AdditionalBlockDevice) OpenStackProviderSpecBuilder

WithAdditionalBlockDevices sets the additional block devices for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithFlavor

WithFlavor sets the flavor for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithNetworks

WithNetworks sets the networks for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithPorts

WithPorts sets the ports for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithRootVolume

WithRootVolume sets the rootVolume for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithSecurityGroups

WithSecurityGroups sets the security groups for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithServerGroupName

WithServerGroupName sets the server group name for the OpenStack machine config builder.

func (OpenStackProviderSpecBuilder) WithZone

WithZone sets the availabilityZone for the OpenStack machine config builder.

type VSphereProviderSpecBuilder

type VSphereProviderSpecBuilder struct {
	// contains filtered or unexported fields
}

VSphereProviderSpecBuilder is used to build out a VSphere machine config object.

func VSphereProviderSpec

func VSphereProviderSpec() VSphereProviderSpecBuilder

VSphereProviderSpec creates a new VSphere machine config builder.

func (VSphereProviderSpecBuilder) AsControlPlaneMachineSetProviderSpec

func (v VSphereProviderSpecBuilder) AsControlPlaneMachineSetProviderSpec() VSphereProviderSpecBuilder

AsControlPlaneMachineSetProviderSpec the control plane machine set providerConfig is derived from the infrastructure spec. when failure domains are used to populate the provider spec of descendant machines, the cpms provider spec workspace, template, and network are left uninitialized to prevent ambiguity as the provider spec is not used to populate the workspace, template, and network.

func (VSphereProviderSpecBuilder) Build

Build builds a new VSphere machine config based on the configuration provided.

func (VSphereProviderSpecBuilder) BuildRawExtension

func (v VSphereProviderSpecBuilder) BuildRawExtension() *runtime.RawExtension

BuildRawExtension builds a new VSphere machine config based on the configuration provided.

func (VSphereProviderSpecBuilder) WithIPPool

WithIPPool sets the ippool for the VSphere machine config builder.

func (VSphereProviderSpecBuilder) WithInfrastructure

WithInfrastructure sets the template for the VSphere machine config builder.

func (VSphereProviderSpecBuilder) WithTags

WithTags sets the tags for the VSphere machine config builder.

func (VSphereProviderSpecBuilder) WithTemplate

WithTemplate sets the template for the VSphere machine config builder.

func (VSphereProviderSpecBuilder) WithZone

WithZone sets the zone for the VSphere machine config builder.

Jump to

Keyboard shortcuts

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