v1beta2

package
v0.0.0-...-86066d4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSClusterBuilder

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

AWSClusterBuilder is used to build out an AWSCluster object.

func AWSCluster

func AWSCluster() AWSClusterBuilder

AWSCluster creates a new AWSClusterBuilder.

func (AWSClusterBuilder) Build

func (a AWSClusterBuilder) Build() *capav1.AWSCluster

Build builds a new AWSCluster based on the configuration provided.

func (AWSClusterBuilder) WithAdditionalTags

func (a AWSClusterBuilder) WithAdditionalTags(tags capav1.Tags) AWSClusterBuilder

WithAdditionalTags sets the additionalTags for the AWSCluster builder.

func (AWSClusterBuilder) WithAnnotations

func (a AWSClusterBuilder) WithAnnotations(annotations map[string]string) AWSClusterBuilder

WithAnnotations sets the annotations for the AWSCluster builder.

func (AWSClusterBuilder) WithBastion

func (a AWSClusterBuilder) WithBastion(bastion capav1.Bastion) AWSClusterBuilder

WithBastion sets the bastion for the AWSCluster builder.

func (AWSClusterBuilder) WithBastionStatus

func (a AWSClusterBuilder) WithBastionStatus(bastionInstance *capav1.Instance) AWSClusterBuilder

WithBastionStatus sets the bastion status for the AWSCluster builder.

func (AWSClusterBuilder) WithConditions

func (a AWSClusterBuilder) WithConditions(conditions clusterv1.Conditions) AWSClusterBuilder

WithConditions sets the conditions for the AWSCluster builder.

func (AWSClusterBuilder) WithControlPlaneEndpoint

func (a AWSClusterBuilder) WithControlPlaneEndpoint(endpoint clusterv1.APIEndpoint) AWSClusterBuilder

WithControlPlaneEndpoint sets the controlPlaneEndpoint for the AWSCluster builder.

func (AWSClusterBuilder) WithControlPlaneLoadBalancer

func (a AWSClusterBuilder) WithControlPlaneLoadBalancer(lb *capav1.AWSLoadBalancerSpec) AWSClusterBuilder

WithControlPlaneLoadBalancer sets the controlPlaneLoadBalancer for the AWSCluster builder.

func (AWSClusterBuilder) WithCreationTimestamp

func (a AWSClusterBuilder) WithCreationTimestamp(timestamp metav1.Time) AWSClusterBuilder

WithCreationTimestamp sets the creationTimestamp for the AWSCluster builder.

func (AWSClusterBuilder) WithDeletionTimestamp

func (a AWSClusterBuilder) WithDeletionTimestamp(timestamp *metav1.Time) AWSClusterBuilder

WithDeletionTimestamp sets the deletionTimestamp for the AWSCluster builder.

func (AWSClusterBuilder) WithFailureDomains

func (a AWSClusterBuilder) WithFailureDomains(failureDomains clusterv1.FailureDomains) AWSClusterBuilder

WithFailureDomains sets the failureDomains for the AWSCluster builder.

func (AWSClusterBuilder) WithGenerateName

func (a AWSClusterBuilder) WithGenerateName(generateName string) AWSClusterBuilder

WithGenerateName sets the generateName for the AWSCluster builder.

func (AWSClusterBuilder) WithIdentityRef

func (a AWSClusterBuilder) WithIdentityRef(identityRef *capav1.AWSIdentityReference) AWSClusterBuilder

WithIdentityRef sets the identityRef for the AWSCluster builder.

func (AWSClusterBuilder) WithImageLookupBaseOS

func (a AWSClusterBuilder) WithImageLookupBaseOS(baseOS string) AWSClusterBuilder

WithImageLookupBaseOS sets the imageLookupBaseOS for the AWSCluster builder.

func (AWSClusterBuilder) WithImageLookupFormat

func (a AWSClusterBuilder) WithImageLookupFormat(format string) AWSClusterBuilder

WithImageLookupFormat sets the imageLookupFormat for the AWSCluster builder.

func (AWSClusterBuilder) WithImageLookupOrg

func (a AWSClusterBuilder) WithImageLookupOrg(org string) AWSClusterBuilder

WithImageLookupOrg sets the imageLookupOrg for the AWSCluster builder.

func (AWSClusterBuilder) WithLabels

func (a AWSClusterBuilder) WithLabels(labels map[string]string) AWSClusterBuilder

WithLabels sets the labels for the AWSCluster builder.

func (AWSClusterBuilder) WithName

func (a AWSClusterBuilder) WithName(name string) AWSClusterBuilder

WithName sets the name for the AWSCluster builder.

func (AWSClusterBuilder) WithNamespace

func (a AWSClusterBuilder) WithNamespace(namespace string) AWSClusterBuilder

WithNamespace sets the namespace for the AWSCluster builder.

func (AWSClusterBuilder) WithNetwork

WithNetwork sets the network status for the AWSCluster builder.

func (AWSClusterBuilder) WithNetworkSpec

func (a AWSClusterBuilder) WithNetworkSpec(networkSpec capav1.NetworkSpec) AWSClusterBuilder

WithNetworkSpec sets the networkSpec for the AWSCluster builder.

func (AWSClusterBuilder) WithPartition

func (a AWSClusterBuilder) WithPartition(partition string) AWSClusterBuilder

WithPartition sets the partition for the AWSCluster builder.

func (AWSClusterBuilder) WithReady

func (a AWSClusterBuilder) WithReady(ready bool) AWSClusterBuilder

WithReady sets the ready status for the AWSCluster builder.

func (AWSClusterBuilder) WithRegion

func (a AWSClusterBuilder) WithRegion(region string) AWSClusterBuilder

WithRegion sets the region for the AWSCluster builder.

func (AWSClusterBuilder) WithS3Bucket

func (a AWSClusterBuilder) WithS3Bucket(s3Bucket *capav1.S3Bucket) AWSClusterBuilder

WithS3Bucket sets the s3Bucket for the AWSCluster builder.

func (AWSClusterBuilder) WithSSHKeyName

func (a AWSClusterBuilder) WithSSHKeyName(sshKeyName string) AWSClusterBuilder

WithSSHKeyName sets the sshKeyName for the AWSCluster builder.

func (AWSClusterBuilder) WithSecondaryControlPlaneLoadBalancer

func (a AWSClusterBuilder) WithSecondaryControlPlaneLoadBalancer(lb *capav1.AWSLoadBalancerSpec) AWSClusterBuilder

WithSecondaryControlPlaneLoadBalancer sets the secondaryControlPlaneLoadBalancer for the AWSCluster builder.

type AWSMachineBuilder

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

AWSMachineBuilder is used to build out an AWSMachine object.

func AWSMachine

func AWSMachine() AWSMachineBuilder

AWSMachine creates a new AWSMachine builder.

func (AWSMachineBuilder) Build

func (a AWSMachineBuilder) Build() *capav1.AWSMachine

Build builds a new AWSMachine based on the configuration provided.

func (AWSMachineBuilder) WithAMI

WithAMI sets the AMI for the AWSMachine builder.

func (AWSMachineBuilder) WithAdditionalSecurityGroups

func (a AWSMachineBuilder) WithAdditionalSecurityGroups(additionalSecurityGroups []capav1.AWSResourceReference) AWSMachineBuilder

WithAdditionalSecurityGroups sets the additionalSecurityGroups for the AWSMachine builder.

func (AWSMachineBuilder) WithAdditionalTags

func (a AWSMachineBuilder) WithAdditionalTags(additionalTags capav1.Tags) AWSMachineBuilder

WithAdditionalTags sets the additionalTags for the AWSMachine builder.

func (AWSMachineBuilder) WithAddresses

func (a AWSMachineBuilder) WithAddresses(addresses []clusterv1.MachineAddress) AWSMachineBuilder

WithAddresses sets the addresses for the AWSMachine builder.

func (AWSMachineBuilder) WithAnnotations

func (a AWSMachineBuilder) WithAnnotations(annotations map[string]string) AWSMachineBuilder

WithAnnotations sets the annotations for the AWSMachine builder.

func (AWSMachineBuilder) WithCapacityReservationID

func (a AWSMachineBuilder) WithCapacityReservationID(capacityReservationID *string) AWSMachineBuilder

WithCapacityReservationID sets the capacityReservationID for the AWSMachine builder.

func (AWSMachineBuilder) WithCloudInit

func (a AWSMachineBuilder) WithCloudInit(cloudInit capav1.CloudInit) AWSMachineBuilder

WithCloudInit sets the cloudInit for the AWSMachine builder.

func (AWSMachineBuilder) WithConditions

func (a AWSMachineBuilder) WithConditions(conditions clusterv1.Conditions) AWSMachineBuilder

WithConditions sets the conditions for the AWSMachine builder.

func (AWSMachineBuilder) WithElasticIPPool

func (a AWSMachineBuilder) WithElasticIPPool(elasticIPPool *capav1.ElasticIPPool) AWSMachineBuilder

WithElasticIPPool sets the elasticIPPool for the AWSMachine builder.

func (AWSMachineBuilder) WithFailureMessage

func (a AWSMachineBuilder) WithFailureMessage(failureMessage *string) AWSMachineBuilder

WithFailureMessage sets the failureMessage for the AWSMachine builder.

func (AWSMachineBuilder) WithFailureReason

func (a AWSMachineBuilder) WithFailureReason(failureReason *errors.MachineStatusError) AWSMachineBuilder

WithFailureReason sets the failureReason for the AWSMachine builder.

func (AWSMachineBuilder) WithIAMInstanceProfile

func (a AWSMachineBuilder) WithIAMInstanceProfile(iamInstanceProfile string) AWSMachineBuilder

WithIAMInstanceProfile sets the iamInstanceProfile for the AWSMachine builder.

func (AWSMachineBuilder) WithIgnition

func (a AWSMachineBuilder) WithIgnition(ignition *capav1.Ignition) AWSMachineBuilder

WithIgnition sets the ignition for the AWSMachine builder.

func (AWSMachineBuilder) WithImageLookupBaseOS

func (a AWSMachineBuilder) WithImageLookupBaseOS(imageLookupBaseOS string) AWSMachineBuilder

WithImageLookupBaseOS sets the imageLookupBaseOS for the AWSMachine builder.

func (AWSMachineBuilder) WithImageLookupFormat

func (a AWSMachineBuilder) WithImageLookupFormat(imageLookupFormat string) AWSMachineBuilder

WithImageLookupFormat sets the imageLookupFormat for the AWSMachine builder.

func (AWSMachineBuilder) WithImageLookupOrg

func (a AWSMachineBuilder) WithImageLookupOrg(imageLookupOrg string) AWSMachineBuilder

WithImageLookupOrg sets the imageLookupOrg for the AWSMachine builder.

func (AWSMachineBuilder) WithInstanceID

func (a AWSMachineBuilder) WithInstanceID(instanceID *string) AWSMachineBuilder

WithInstanceID sets the instanceID for the AWSMachine builder.

func (AWSMachineBuilder) WithInstanceMetadataOptions

func (a AWSMachineBuilder) WithInstanceMetadataOptions(instanceMetadataOptions *capav1.InstanceMetadataOptions) AWSMachineBuilder

WithInstanceMetadataOptions sets the instanceMetadataOptions for the AWSMachine builder.

func (AWSMachineBuilder) WithInstanceState

func (a AWSMachineBuilder) WithInstanceState(instanceState *capav1.InstanceState) AWSMachineBuilder

WithInstanceState sets the instanceState for the AWSMachine builder.

func (AWSMachineBuilder) WithInstanceType

func (a AWSMachineBuilder) WithInstanceType(instanceType string) AWSMachineBuilder

WithInstanceType sets the instanceType for the AWSMachine builder.

func (AWSMachineBuilder) WithInterruptible

func (a AWSMachineBuilder) WithInterruptible(interruptible bool) AWSMachineBuilder

WithInterruptible sets the interruptible for the AWSMachine builder.

func (AWSMachineBuilder) WithLabels

func (a AWSMachineBuilder) WithLabels(labels map[string]string) AWSMachineBuilder

WithLabels sets the labels for the AWSMachine builder.

func (AWSMachineBuilder) WithName

func (a AWSMachineBuilder) WithName(name string) AWSMachineBuilder

WithName sets the name for the AWSMachine builder.

func (AWSMachineBuilder) WithNamespace

func (a AWSMachineBuilder) WithNamespace(namespace string) AWSMachineBuilder

WithNamespace sets the namespace for the AWSMachine builder.

func (AWSMachineBuilder) WithNetworkInterfaces

func (a AWSMachineBuilder) WithNetworkInterfaces(networkInterfaces []string) AWSMachineBuilder

WithNetworkInterfaces sets the networkInterfaces for the AWSMachine builder.

func (AWSMachineBuilder) WithNonRootVolumes

func (a AWSMachineBuilder) WithNonRootVolumes(nonRootVolumes []capav1.Volume) AWSMachineBuilder

WithNonRootVolumes sets the nonRootVolumes for the AWSMachine builder.

func (AWSMachineBuilder) WithPlacementGroupName

func (a AWSMachineBuilder) WithPlacementGroupName(placementGroupName string) AWSMachineBuilder

WithPlacementGroupName sets the placementGroupName for the AWSMachine builder.

func (AWSMachineBuilder) WithPlacementGroupPartition

func (a AWSMachineBuilder) WithPlacementGroupPartition(placementGroupPartition int64) AWSMachineBuilder

WithPlacementGroupPartition sets the placementGroupPartition for the AWSMachine builder.

func (AWSMachineBuilder) WithPrivateDNSName

func (a AWSMachineBuilder) WithPrivateDNSName(privateDNSName *capav1.PrivateDNSName) AWSMachineBuilder

WithPrivateDNSName sets the privateDNSName for the AWSMachine builder.

func (AWSMachineBuilder) WithProviderID

func (a AWSMachineBuilder) WithProviderID(providerID *string) AWSMachineBuilder

WithProviderID sets the providerID for the AWSMachine builder.

func (AWSMachineBuilder) WithPublicIP

func (a AWSMachineBuilder) WithPublicIP(publicIP *bool) AWSMachineBuilder

WithPublicIP sets the publicIP for the AWSMachine builder.

func (AWSMachineBuilder) WithReady

func (a AWSMachineBuilder) WithReady(ready bool) AWSMachineBuilder

WithReady sets the ready for the AWSMachine builder.

func (AWSMachineBuilder) WithRootVolume

func (a AWSMachineBuilder) WithRootVolume(rootVolume *capav1.Volume) AWSMachineBuilder

WithRootVolume sets the rootVolume for the AWSMachine builder.

func (AWSMachineBuilder) WithSSHKeyName

func (a AWSMachineBuilder) WithSSHKeyName(sshKeyName *string) AWSMachineBuilder

WithSSHKeyName sets the sshKeyName for the AWSMachine builder.

func (AWSMachineBuilder) WithSecurityGroupOverrides

func (a AWSMachineBuilder) WithSecurityGroupOverrides(securityGroupOverrides map[capav1.SecurityGroupRole]string) AWSMachineBuilder

WithSecurityGroupOverrides sets the securityGroupOverrides for the AWSMachine builder.

func (AWSMachineBuilder) WithSpotMarketOptions

func (a AWSMachineBuilder) WithSpotMarketOptions(spotMarketOptions *capav1.SpotMarketOptions) AWSMachineBuilder

WithSpotMarketOptions sets the spotMarketOptions for the AWSMachine builder.

func (AWSMachineBuilder) WithSubnet

WithSubnet sets the subnet for the AWSMachine builder.

func (AWSMachineBuilder) WithTenancy

func (a AWSMachineBuilder) WithTenancy(tenancy string) AWSMachineBuilder

WithTenancy sets the tenancy for the AWSMachine builder.

func (AWSMachineBuilder) WithUncompressedUserData

func (a AWSMachineBuilder) WithUncompressedUserData(uncompressedUserData *bool) AWSMachineBuilder

WithUncompressedUserData sets the uncompressedUserData for the AWSMachine builder.

type AWSMachineTemplateBuilder

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

AWSMachineTemplateBuilder is used to build out an AWSMachineTemplate object.

func AWSMachineTemplate

func AWSMachineTemplate() AWSMachineTemplateBuilder

AWSMachineTemplate creates a new AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) Build

Build builds a new AWSMachineTemplate based on the configuration provided.

func (AWSMachineTemplateBuilder) WithAMI

WithAMI sets the AMI for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithAdditionalSecurityGroups

func (a AWSMachineTemplateBuilder) WithAdditionalSecurityGroups(groups []capav1.AWSResourceReference) AWSMachineTemplateBuilder

WithAdditionalSecurityGroups sets the additionalSecurityGroups for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithAdditionalTags

WithAdditionalTags sets the additionalTags for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithAnnotations

func (a AWSMachineTemplateBuilder) WithAnnotations(annotations map[string]string) AWSMachineTemplateBuilder

WithAnnotations sets the annotations for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithCapacity

WithCapacity sets the capacity for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithCapacityReservationID

func (a AWSMachineTemplateBuilder) WithCapacityReservationID(id string) AWSMachineTemplateBuilder

WithCapacityReservationID sets the capacityReservationID for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithCloudInit

WithCloudInit sets the cloudInit for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithCreationTimestamp

func (a AWSMachineTemplateBuilder) WithCreationTimestamp(timestamp metav1.Time) AWSMachineTemplateBuilder

WithCreationTimestamp sets the creationTimestamp for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithDeletionTimestamp

func (a AWSMachineTemplateBuilder) WithDeletionTimestamp(timestamp *metav1.Time) AWSMachineTemplateBuilder

WithDeletionTimestamp sets the deletionTimestamp for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithElasticIPPool

WithElasticIPPool sets the elasticIPPool for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithGenerateName

func (a AWSMachineTemplateBuilder) WithGenerateName(generateName string) AWSMachineTemplateBuilder

WithGenerateName sets the generateName for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithIAMInstanceProfile

func (a AWSMachineTemplateBuilder) WithIAMInstanceProfile(profile string) AWSMachineTemplateBuilder

WithIAMInstanceProfile sets the iamInstanceProfile for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithIgnition

WithIgnition sets the ignition for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithImageLookupBaseOS

func (a AWSMachineTemplateBuilder) WithImageLookupBaseOS(baseOS string) AWSMachineTemplateBuilder

WithImageLookupBaseOS sets the imageLookupBaseOS for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithImageLookupFormat

func (a AWSMachineTemplateBuilder) WithImageLookupFormat(format string) AWSMachineTemplateBuilder

WithImageLookupFormat sets the imageLookupFormat for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithImageLookupOrg

WithImageLookupOrg sets the imageLookupOrg for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithInstanceID

func (a AWSMachineTemplateBuilder) WithInstanceID(instanceID string) AWSMachineTemplateBuilder

WithInstanceID sets the instanceID for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithInstanceMetadataOptions

WithInstanceMetadataOptions sets the instanceMetadataOptions for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithInstanceType

func (a AWSMachineTemplateBuilder) WithInstanceType(instanceType string) AWSMachineTemplateBuilder

WithInstanceType sets the instanceType for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithLabels

WithLabels sets the labels for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithName

WithName sets the name for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithNamespace

func (a AWSMachineTemplateBuilder) WithNamespace(namespace string) AWSMachineTemplateBuilder

WithNamespace sets the namespace for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithNetworkInterfaces

func (a AWSMachineTemplateBuilder) WithNetworkInterfaces(interfaces []string) AWSMachineTemplateBuilder

WithNetworkInterfaces sets the networkInterfaces for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithNonRootVolumes

func (a AWSMachineTemplateBuilder) WithNonRootVolumes(volumes []capav1.Volume) AWSMachineTemplateBuilder

WithNonRootVolumes sets the nonRootVolumes for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithPlacementGroupName

func (a AWSMachineTemplateBuilder) WithPlacementGroupName(name string) AWSMachineTemplateBuilder

WithPlacementGroupName sets the placementGroupName for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithPlacementGroupPartition

func (a AWSMachineTemplateBuilder) WithPlacementGroupPartition(partition int64) AWSMachineTemplateBuilder

WithPlacementGroupPartition sets the placementGroupPartition for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithPrivateDNSName

WithPrivateDNSName sets the privateDNSName for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithProviderID

func (a AWSMachineTemplateBuilder) WithProviderID(providerID string) AWSMachineTemplateBuilder

WithProviderID sets the providerID for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithPublicIP

func (a AWSMachineTemplateBuilder) WithPublicIP(publicIP bool) AWSMachineTemplateBuilder

WithPublicIP sets the publicIP for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithRootVolume

WithRootVolume sets the rootVolume for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithSSHKeyName

WithSSHKeyName sets the sshKeyName for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithSecurityGroupOverrides

func (a AWSMachineTemplateBuilder) WithSecurityGroupOverrides(overrides map[capav1.SecurityGroupRole]string) AWSMachineTemplateBuilder

WithSecurityGroupOverrides sets the securityGroupOverrides for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithSpotMarketOptions

WithSpotMarketOptions sets the spotMarketOptions for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithSubnet

WithSubnet sets the subnet for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithTenancy

WithTenancy sets the tenancy for the AWSMachineTemplate builder.

func (AWSMachineTemplateBuilder) WithUncompressedUserData

func (a AWSMachineTemplateBuilder) WithUncompressedUserData(uncompressed bool) AWSMachineTemplateBuilder

WithUncompressedUserData sets the uncompressedUserData for the AWSMachineTemplate builder.

type PowerVSClusterBuilder

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

PowerVSClusterBuilder is used to build out an PowerVSCluster object.

func PowerVSCluster

func PowerVSCluster() PowerVSClusterBuilder

PowerVSCluster creates a new PowerVSClusterBuilder.

func (PowerVSClusterBuilder) Build

Build builds a new IBMPowerVSCluster based on the configuration provided.

func (PowerVSClusterBuilder) WithAnnotations

func (p PowerVSClusterBuilder) WithAnnotations(annotations map[string]string) PowerVSClusterBuilder

WithAnnotations sets the annotations for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithConditions

func (p PowerVSClusterBuilder) WithConditions(conditions clusterv1.Conditions) PowerVSClusterBuilder

WithConditions sets the conditions for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithControlPlaneEndpoint

func (p PowerVSClusterBuilder) WithControlPlaneEndpoint(endpoint clusterv1.APIEndpoint) PowerVSClusterBuilder

WithControlPlaneEndpoint sets the controlPlaneEndpoint for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithCreationTimestamp

func (p PowerVSClusterBuilder) WithCreationTimestamp(timestamp metav1.Time) PowerVSClusterBuilder

WithCreationTimestamp sets the creationTimestamp for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithDeletionTimestamp

func (p PowerVSClusterBuilder) WithDeletionTimestamp(timestamp *metav1.Time) PowerVSClusterBuilder

WithDeletionTimestamp sets the deletionTimestamp for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithGenerateName

func (p PowerVSClusterBuilder) WithGenerateName(generateName string) PowerVSClusterBuilder

WithGenerateName sets the generateName for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithLabels

func (p PowerVSClusterBuilder) WithLabels(labels map[string]string) PowerVSClusterBuilder

WithLabels sets the labels for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithLoadBalancer

func (p PowerVSClusterBuilder) WithLoadBalancer(loadBalancers []capibmv1.VPCLoadBalancerSpec) PowerVSClusterBuilder

WithLoadBalancer sets the loadBalancers for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithName

WithName sets the name for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithNamespace

func (p PowerVSClusterBuilder) WithNamespace(namespace string) PowerVSClusterBuilder

WithNamespace sets the namespace for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithNetwork

WithNetwork sets the network for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithReady

WithReady sets the ready status for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithResourceGroup

WithResourceGroup sets the resourceGroup for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithServiceInstance

func (p PowerVSClusterBuilder) WithServiceInstance(serviceInstance *capibmv1.IBMPowerVSResourceReference) PowerVSClusterBuilder

WithServiceInstance sets the serviceInstance for the IBMPowerVSCluster builder.

func (PowerVSClusterBuilder) WithZone

WithZone sets the zone for the IBMPowerVSCluster builder.

type PowerVSMachineBuilder

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

PowerVSMachineBuilder is used to build out an PowerVSMachine object.

func PowerVSMachine

func PowerVSMachine() PowerVSMachineBuilder

PowerVSMachine creates a new PowerVSMachine builder.

func (PowerVSMachineBuilder) Build

func (PowerVSMachineBuilder) WithAddresses

func (p PowerVSMachineBuilder) WithAddresses(addresses []corev1.NodeAddress) PowerVSMachineBuilder

WithAddresses sets the addresses for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithAnnotations

func (p PowerVSMachineBuilder) WithAnnotations(annotations map[string]string) PowerVSMachineBuilder

WithAnnotations sets the annotations for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithConditions

func (p PowerVSMachineBuilder) WithConditions(conditions clusterv1.Conditions) PowerVSMachineBuilder

WithConditions sets the conditions for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithFailureMessage

func (p PowerVSMachineBuilder) WithFailureMessage(failureMessage *string) PowerVSMachineBuilder

WithFailureMessage sets the failureMessage for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithFailureReason

func (p PowerVSMachineBuilder) WithFailureReason(failureReason *errors.MachineStatusError) PowerVSMachineBuilder

WithFailureReason sets the failureReason for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithImage

WithImage sets the image for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithImageRef

WithImageRef sets the imageRef for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithInstanceID

func (p PowerVSMachineBuilder) WithInstanceID(instanceID string) PowerVSMachineBuilder

WithInstanceID sets the instanceID for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithInstanceState

func (p PowerVSMachineBuilder) WithInstanceState(instanceState capibmv1.PowerVSInstanceState) PowerVSMachineBuilder

WithInstanceState sets the instanceState for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithLabels

func (p PowerVSMachineBuilder) WithLabels(labels map[string]string) PowerVSMachineBuilder

WithLabels sets the labels for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithMemoryGiB

func (p PowerVSMachineBuilder) WithMemoryGiB(memoryGiB int32) PowerVSMachineBuilder

WithMemoryGiB sets the memoryGiB for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithName

WithName sets the name for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithNamespace

func (p PowerVSMachineBuilder) WithNamespace(namespace string) PowerVSMachineBuilder

WithNamespace sets the namespace for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithNetwork

WithNetwork sets the network for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithProcessorType

func (p PowerVSMachineBuilder) WithProcessorType(processorType capibmv1.PowerVSProcessorType) PowerVSMachineBuilder

WithProcessorType sets the processorType for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithProcessors

func (p PowerVSMachineBuilder) WithProcessors(processors intstr.IntOrString) PowerVSMachineBuilder

WithProcessors sets the processors for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithProviderID

func (p PowerVSMachineBuilder) WithProviderID(providerID *string) PowerVSMachineBuilder

WithProviderID sets the providerID for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithReady

WithReady sets the ready for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithSSHKey

func (p PowerVSMachineBuilder) WithSSHKey(sshKey string) PowerVSMachineBuilder

WithSSHKey sets the sshKey for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithServiceInstance

func (p PowerVSMachineBuilder) WithServiceInstance(serviceInstance *capibmv1.IBMPowerVSResourceReference) PowerVSMachineBuilder

WithServiceInstance sets the serviceInstance for the PowerVSMachine builder.

func (PowerVSMachineBuilder) WithSystemType

func (p PowerVSMachineBuilder) WithSystemType(systemType string) PowerVSMachineBuilder

WithSystemType sets the systemType for the PowerVSMachine builder.

type PowerVSMachineTemplateBuilder

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

PowerVSMachineTemplateBuilder is used to build out an PowerVSMachineTemplate object.

func PowerVSMachineTemplate

func PowerVSMachineTemplate() PowerVSMachineTemplateBuilder

PowerVSMachineTemplate creates a new PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) Build

Build builds a new PowerVSMachineTemplate based on the configuration provided.

func (PowerVSMachineTemplateBuilder) WithAnnotations

func (p PowerVSMachineTemplateBuilder) WithAnnotations(annotations map[string]string) PowerVSMachineTemplateBuilder

WithAnnotations sets the annotations for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithCapacity

WithCapacity sets the capacity for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithCreationTimestamp

func (p PowerVSMachineTemplateBuilder) WithCreationTimestamp(timestamp metav1.Time) PowerVSMachineTemplateBuilder

WithCreationTimestamp sets the creationTimestamp for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithDeletionTimestamp

func (p PowerVSMachineTemplateBuilder) WithDeletionTimestamp(timestamp *metav1.Time) PowerVSMachineTemplateBuilder

WithDeletionTimestamp sets the deletionTimestamp for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithGenerateName

func (p PowerVSMachineTemplateBuilder) WithGenerateName(generateName string) PowerVSMachineTemplateBuilder

WithGenerateName sets the generateName for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithImage

WithImage sets the image for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithImageRef

WithImageRef sets the imageRef for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithLabels

WithLabels sets the labels for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithMemoryGiB

WithMemoryGiB sets the memoryGiB for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithName

WithName sets the name for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithNamespace

WithNamespace sets the namespace for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithNetwork

WithNetwork sets the network for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithProcessorType

WithProcessorType sets the processorType for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithProcessors

WithProcessors sets the processors for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithProviderID

WithProviderID sets the providerID for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithSSHKey

WithSSHKey sets the sshKey for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithServiceInstance

WithServiceInstance sets the serviceInstance for the PowerVSMachineTemplate builder.

func (PowerVSMachineTemplateBuilder) WithSystemType

WithSystemType sets the systemType for the PowerVSMachineTemplate builder.

Jump to

Keyboard shortcuts

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