Documentation ¶
Index ¶
- type AWSClusterBuilder
- func (a AWSClusterBuilder) Build() *capav1.AWSCluster
- func (a AWSClusterBuilder) WithAdditionalTags(tags capav1.Tags) AWSClusterBuilder
- func (a AWSClusterBuilder) WithAnnotations(annotations map[string]string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithBastion(bastion capav1.Bastion) AWSClusterBuilder
- func (a AWSClusterBuilder) WithBastionStatus(bastionInstance *capav1.Instance) AWSClusterBuilder
- func (a AWSClusterBuilder) WithConditions(conditions clusterv1.Conditions) AWSClusterBuilder
- func (a AWSClusterBuilder) WithControlPlaneEndpoint(endpoint clusterv1.APIEndpoint) AWSClusterBuilder
- func (a AWSClusterBuilder) WithControlPlaneLoadBalancer(lb *capav1.AWSLoadBalancerSpec) AWSClusterBuilder
- func (a AWSClusterBuilder) WithCreationTimestamp(timestamp metav1.Time) AWSClusterBuilder
- func (a AWSClusterBuilder) WithDeletionTimestamp(timestamp *metav1.Time) AWSClusterBuilder
- func (a AWSClusterBuilder) WithFailureDomains(failureDomains clusterv1.FailureDomains) AWSClusterBuilder
- func (a AWSClusterBuilder) WithGenerateName(generateName string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithIdentityRef(identityRef *capav1.AWSIdentityReference) AWSClusterBuilder
- func (a AWSClusterBuilder) WithImageLookupBaseOS(baseOS string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithImageLookupFormat(format string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithImageLookupOrg(org string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithLabels(labels map[string]string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithName(name string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithNamespace(namespace string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithNetwork(network capav1.NetworkStatus) AWSClusterBuilder
- func (a AWSClusterBuilder) WithNetworkSpec(networkSpec capav1.NetworkSpec) AWSClusterBuilder
- func (a AWSClusterBuilder) WithPartition(partition string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithReady(ready bool) AWSClusterBuilder
- func (a AWSClusterBuilder) WithRegion(region string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithS3Bucket(s3Bucket *capav1.S3Bucket) AWSClusterBuilder
- func (a AWSClusterBuilder) WithSSHKeyName(sshKeyName string) AWSClusterBuilder
- func (a AWSClusterBuilder) WithSecondaryControlPlaneLoadBalancer(lb *capav1.AWSLoadBalancerSpec) AWSClusterBuilder
- type AWSMachineBuilder
- func (a AWSMachineBuilder) Build() *capav1.AWSMachine
- func (a AWSMachineBuilder) WithAMI(ami capav1.AMIReference) AWSMachineBuilder
- func (a AWSMachineBuilder) WithAdditionalSecurityGroups(additionalSecurityGroups []capav1.AWSResourceReference) AWSMachineBuilder
- func (a AWSMachineBuilder) WithAdditionalTags(additionalTags capav1.Tags) AWSMachineBuilder
- func (a AWSMachineBuilder) WithAddresses(addresses []clusterv1.MachineAddress) AWSMachineBuilder
- func (a AWSMachineBuilder) WithAnnotations(annotations map[string]string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithCapacityReservationID(capacityReservationID *string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithCloudInit(cloudInit capav1.CloudInit) AWSMachineBuilder
- func (a AWSMachineBuilder) WithConditions(conditions clusterv1.Conditions) AWSMachineBuilder
- func (a AWSMachineBuilder) WithElasticIPPool(elasticIPPool *capav1.ElasticIPPool) AWSMachineBuilder
- func (a AWSMachineBuilder) WithFailureMessage(failureMessage *string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithFailureReason(failureReason *errors.MachineStatusError) AWSMachineBuilder
- func (a AWSMachineBuilder) WithIAMInstanceProfile(iamInstanceProfile string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithIgnition(ignition *capav1.Ignition) AWSMachineBuilder
- func (a AWSMachineBuilder) WithImageLookupBaseOS(imageLookupBaseOS string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithImageLookupFormat(imageLookupFormat string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithImageLookupOrg(imageLookupOrg string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithInstanceID(instanceID *string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithInstanceMetadataOptions(instanceMetadataOptions *capav1.InstanceMetadataOptions) AWSMachineBuilder
- func (a AWSMachineBuilder) WithInstanceState(instanceState *capav1.InstanceState) AWSMachineBuilder
- func (a AWSMachineBuilder) WithInstanceType(instanceType string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithInterruptible(interruptible bool) AWSMachineBuilder
- func (a AWSMachineBuilder) WithLabels(labels map[string]string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithName(name string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithNamespace(namespace string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithNetworkInterfaces(networkInterfaces []string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithNonRootVolumes(nonRootVolumes []capav1.Volume) AWSMachineBuilder
- func (a AWSMachineBuilder) WithPlacementGroupName(placementGroupName string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithPlacementGroupPartition(placementGroupPartition int64) AWSMachineBuilder
- func (a AWSMachineBuilder) WithPrivateDNSName(privateDNSName *capav1.PrivateDNSName) AWSMachineBuilder
- func (a AWSMachineBuilder) WithProviderID(providerID *string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithPublicIP(publicIP *bool) AWSMachineBuilder
- func (a AWSMachineBuilder) WithReady(ready bool) AWSMachineBuilder
- func (a AWSMachineBuilder) WithRootVolume(rootVolume *capav1.Volume) AWSMachineBuilder
- func (a AWSMachineBuilder) WithSSHKeyName(sshKeyName *string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithSecurityGroupOverrides(securityGroupOverrides map[capav1.SecurityGroupRole]string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithSpotMarketOptions(spotMarketOptions *capav1.SpotMarketOptions) AWSMachineBuilder
- func (a AWSMachineBuilder) WithSubnet(subnet *capav1.AWSResourceReference) AWSMachineBuilder
- func (a AWSMachineBuilder) WithTenancy(tenancy string) AWSMachineBuilder
- func (a AWSMachineBuilder) WithUncompressedUserData(uncompressedUserData *bool) AWSMachineBuilder
- type AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) Build() *capav1.AWSMachineTemplate
- func (a AWSMachineTemplateBuilder) WithAMI(ami capav1.AMIReference) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithAdditionalSecurityGroups(groups []capav1.AWSResourceReference) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithAdditionalTags(tags capav1.Tags) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithAnnotations(annotations map[string]string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithCapacity(capacity corev1.ResourceList) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithCapacityReservationID(id string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithCloudInit(cloudInit capav1.CloudInit) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithCreationTimestamp(timestamp metav1.Time) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithDeletionTimestamp(timestamp *metav1.Time) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithElasticIPPool(pool *capav1.ElasticIPPool) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithGenerateName(generateName string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithIAMInstanceProfile(profile string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithIgnition(ignition *capav1.Ignition) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithImageLookupBaseOS(baseOS string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithImageLookupFormat(format string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithImageLookupOrg(org string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithInstanceID(instanceID string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithInstanceMetadataOptions(options *capav1.InstanceMetadataOptions) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithInstanceType(instanceType string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithLabels(labels map[string]string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithName(name string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithNamespace(namespace string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithNetworkInterfaces(interfaces []string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithNonRootVolumes(volumes []capav1.Volume) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithPlacementGroupName(name string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithPlacementGroupPartition(partition int64) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithPrivateDNSName(dnsName *capav1.PrivateDNSName) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithProviderID(providerID string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithPublicIP(publicIP bool) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithRootVolume(volume *capav1.Volume) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithSSHKeyName(keyName string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithSecurityGroupOverrides(overrides map[capav1.SecurityGroupRole]string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithSpotMarketOptions(options *capav1.SpotMarketOptions) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithSubnet(subnet *capav1.AWSResourceReference) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithTenancy(tenancy string) AWSMachineTemplateBuilder
- func (a AWSMachineTemplateBuilder) WithUncompressedUserData(uncompressed bool) AWSMachineTemplateBuilder
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 (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 ¶
func (a AWSClusterBuilder) WithNetwork(network capav1.NetworkStatus) AWSClusterBuilder
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 (AWSMachineBuilder) Build ¶
func (a AWSMachineBuilder) Build() *capav1.AWSMachine
Build builds a new AWSMachine based on the configuration provided.
func (AWSMachineBuilder) WithAMI ¶
func (a AWSMachineBuilder) WithAMI(ami capav1.AMIReference) AWSMachineBuilder
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 ¶
func (a AWSMachineBuilder) WithSubnet(subnet *capav1.AWSResourceReference) AWSMachineBuilder
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 ¶
func (a AWSMachineTemplateBuilder) Build() *capav1.AWSMachineTemplate
Build builds a new AWSMachineTemplate based on the configuration provided.
func (AWSMachineTemplateBuilder) WithAMI ¶
func (a AWSMachineTemplateBuilder) WithAMI(ami capav1.AMIReference) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithAdditionalTags(tags capav1.Tags) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithCapacity(capacity corev1.ResourceList) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithCloudInit(cloudInit capav1.CloudInit) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithElasticIPPool(pool *capav1.ElasticIPPool) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithIgnition(ignition *capav1.Ignition) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithImageLookupOrg(org string) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithInstanceMetadataOptions(options *capav1.InstanceMetadataOptions) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithLabels(labels map[string]string) AWSMachineTemplateBuilder
WithLabels sets the labels for the AWSMachineTemplate builder.
func (AWSMachineTemplateBuilder) WithName ¶
func (a AWSMachineTemplateBuilder) WithName(name string) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithPrivateDNSName(dnsName *capav1.PrivateDNSName) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithRootVolume(volume *capav1.Volume) AWSMachineTemplateBuilder
WithRootVolume sets the rootVolume for the AWSMachineTemplate builder.
func (AWSMachineTemplateBuilder) WithSSHKeyName ¶
func (a AWSMachineTemplateBuilder) WithSSHKeyName(keyName string) AWSMachineTemplateBuilder
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 ¶
func (a AWSMachineTemplateBuilder) WithSpotMarketOptions(options *capav1.SpotMarketOptions) AWSMachineTemplateBuilder
WithSpotMarketOptions sets the spotMarketOptions for the AWSMachineTemplate builder.
func (AWSMachineTemplateBuilder) WithSubnet ¶
func (a AWSMachineTemplateBuilder) WithSubnet(subnet *capav1.AWSResourceReference) AWSMachineTemplateBuilder
WithSubnet sets the subnet for the AWSMachineTemplate builder.
func (AWSMachineTemplateBuilder) WithTenancy ¶
func (a AWSMachineTemplateBuilder) WithTenancy(tenancy string) AWSMachineTemplateBuilder
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.