v1beta2

package
v0.0.0-...-af0b63d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 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.

Jump to

Keyboard shortcuts

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