v1alpha1

package
v0.47.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources for AWS Elastic Load Balancing services such as IAM. +kubebuilder:object:generate=true +groupName=elasticloadbalancing.aws.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "elasticloadbalancing.aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ELBKind             = reflect.TypeOf(ELB{}).Name()
	ELBGroupKind        = schema.GroupKind{Group: Group, Kind: ELBKind}.String()
	ELBKindAPIVersion   = ELBKind + "." + SchemeGroupVersion.String()
	ELBGroupVersionKind = SchemeGroupVersion.WithKind(ELBKind)
)

ELB type metadata.

View Source
var (
	ELBAttachmentKind             = reflect.TypeOf(ELBAttachment{}).Name()
	ELBAttachmentGroupKind        = schema.GroupKind{Group: Group, Kind: ELBAttachmentKind}.String()
	ELBAttachmentKindAPIVersion   = ELBAttachmentKind + "." + SchemeGroupVersion.String()
	ELBAttachmentGroupVersionKind = SchemeGroupVersion.WithKind(ELBAttachmentKind)
)

ELB type metadata.

Functions

This section is empty.

Types

type BackendServerDescription

type BackendServerDescription struct {

	// The port on which the EC2 instance is listening.
	InstancePort int32 `json:"instancePort,omitempty"`

	// The names of the policies enabled for the EC2 instance.
	PolicyNames []string `json:"policyNames,omitempty"`
}

BackendServerDescription provides information about the instances attached to the ELB.

func (*BackendServerDescription) DeepCopy

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

func (*BackendServerDescription) DeepCopyInto

func (in *BackendServerDescription) DeepCopyInto(out *BackendServerDescription)

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

type ELB

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

	Spec   ELBSpec   `json:"spec"`
	Status ELBStatus `json:"status,omitempty"`
}

An ELB is a managed resource that represents an AWS Classic Load Balancer. +kubebuilder:printcolumn:name="ELBNAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="DNSNAME",type="string",JSONPath=".status.atProvider.dnsName" +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".status.atProvider.vpcId" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ELB) DeepCopy

func (in *ELB) DeepCopy() *ELB

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

func (*ELB) DeepCopyInto

func (in *ELB) DeepCopyInto(out *ELB)

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

func (*ELB) DeepCopyObject

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

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

func (*ELB) GetCondition

func (mg *ELB) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ELB.

func (*ELB) GetDeletionPolicy

func (mg *ELB) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ELB.

func (*ELB) GetManagementPolicies added in v0.43.0

func (mg *ELB) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ELB.

func (*ELB) GetProviderConfigReference

func (mg *ELB) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ELB.

func (*ELB) GetPublishConnectionDetailsTo

func (mg *ELB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ELB.

func (*ELB) GetWriteConnectionSecretToReference

func (mg *ELB) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ELB.

func (*ELB) ResolveReferences

func (mg *ELB) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ELB

func (*ELB) SetConditions

func (mg *ELB) SetConditions(c ...xpv1.Condition)

SetConditions of this ELB.

func (*ELB) SetDeletionPolicy

func (mg *ELB) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ELB.

func (*ELB) SetManagementPolicies added in v0.43.0

func (mg *ELB) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ELB.

func (*ELB) SetProviderConfigReference

func (mg *ELB) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ELB.

func (*ELB) SetPublishConnectionDetailsTo

func (mg *ELB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ELB.

func (*ELB) SetWriteConnectionSecretToReference

func (mg *ELB) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ELB.

type ELBAttachment

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

	Spec   ELBAttachmentSpec   `json:"spec"`
	Status ELBAttachmentStatus `json:"status,omitempty"`
}

An ELBAttachment is a managed resource that represents attachment of an AWS Classic Load Balancer and an AWS EC2 instance. +kubebuilder:printcolumn:name="ELBNAME",type="string",JSONPath=".spec.forProvider.elbName" +kubebuilder:printcolumn:name="INSTANCEID",type="string",JSONPath=".spec.forProvider.instanceId" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ELBAttachment) DeepCopy

func (in *ELBAttachment) DeepCopy() *ELBAttachment

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

func (*ELBAttachment) DeepCopyInto

func (in *ELBAttachment) DeepCopyInto(out *ELBAttachment)

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

func (*ELBAttachment) DeepCopyObject

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

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

func (*ELBAttachment) GetCondition

func (mg *ELBAttachment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ELBAttachment.

func (*ELBAttachment) GetDeletionPolicy

func (mg *ELBAttachment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ELBAttachment.

func (*ELBAttachment) GetManagementPolicies added in v0.43.0

func (mg *ELBAttachment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ELBAttachment.

func (*ELBAttachment) GetProviderConfigReference

func (mg *ELBAttachment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ELBAttachment.

func (*ELBAttachment) GetPublishConnectionDetailsTo

func (mg *ELBAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ELBAttachment.

func (*ELBAttachment) GetWriteConnectionSecretToReference

func (mg *ELBAttachment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ELBAttachment.

func (*ELBAttachment) ResolveReferences

func (mg *ELBAttachment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ELBAttachment

func (*ELBAttachment) SetConditions

func (mg *ELBAttachment) SetConditions(c ...xpv1.Condition)

SetConditions of this ELBAttachment.

func (*ELBAttachment) SetDeletionPolicy

func (mg *ELBAttachment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ELBAttachment.

func (*ELBAttachment) SetManagementPolicies added in v0.43.0

func (mg *ELBAttachment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ELBAttachment.

func (*ELBAttachment) SetProviderConfigReference

func (mg *ELBAttachment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ELBAttachment.

func (*ELBAttachment) SetPublishConnectionDetailsTo

func (mg *ELBAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ELBAttachment.

func (*ELBAttachment) SetWriteConnectionSecretToReference

func (mg *ELBAttachment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ELBAttachment.

type ELBAttachmentList

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

ELBAttachmentList contains a list of ELBAttachmentAttachment.

func (*ELBAttachmentList) DeepCopy

func (in *ELBAttachmentList) DeepCopy() *ELBAttachmentList

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

func (*ELBAttachmentList) DeepCopyInto

func (in *ELBAttachmentList) DeepCopyInto(out *ELBAttachmentList)

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

func (*ELBAttachmentList) DeepCopyObject

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

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

func (*ELBAttachmentList) GetItems

func (l *ELBAttachmentList) GetItems() []resource.Managed

GetItems of this ELBAttachmentList.

type ELBAttachmentObservation

type ELBAttachmentObservation struct {
}

ELBAttachmentObservation keeps the state for the external resource

func (*ELBAttachmentObservation) DeepCopy

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

func (*ELBAttachmentObservation) DeepCopyInto

func (in *ELBAttachmentObservation) DeepCopyInto(out *ELBAttachmentObservation)

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

type ELBAttachmentParameters

type ELBAttachmentParameters struct {
	// Region is the region you'd like your ELBAttachment to be in.
	Region string `json:"region"`

	// Name of the Elastic Load Balancer to which the instances will attach.
	// +immutable
	// +optional
	ELBName string `json:"elbName,omitempty"`

	// ELBNameRef references an ELB to and retrieves its external-name.
	// +immutable
	// +optional
	ELBNameRef *xpv1.Reference `json:"elbNameRef,omitempty"`

	// ELBNameSelector selects a reference to a ELB to and retrieves its external-name.
	// +immutable
	// +optional
	ELBNameSelector *xpv1.Selector `json:"elbNameSelector,omitempty"`

	// List of identities of the instances to be attached.
	// +immutable
	InstanceID string `json:"instanceId"`
}

ELBAttachmentParameters define the desired state of an AWS ELBAttachment.

func (*ELBAttachmentParameters) DeepCopy

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

func (*ELBAttachmentParameters) DeepCopyInto

func (in *ELBAttachmentParameters) DeepCopyInto(out *ELBAttachmentParameters)

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

type ELBAttachmentSpec

type ELBAttachmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ELBAttachmentParameters `json:"forProvider"`
}

An ELBAttachmentSpec defines the desired state of an ELBAttachment.

func (*ELBAttachmentSpec) DeepCopy

func (in *ELBAttachmentSpec) DeepCopy() *ELBAttachmentSpec

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

func (*ELBAttachmentSpec) DeepCopyInto

func (in *ELBAttachmentSpec) DeepCopyInto(out *ELBAttachmentSpec)

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

type ELBAttachmentStatus

type ELBAttachmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ELBAttachmentObservation `json:"atProvider,omitempty"`
}

An ELBAttachmentStatus represents the observed state of an ELBAttachmentAttachment.

func (*ELBAttachmentStatus) DeepCopy

func (in *ELBAttachmentStatus) DeepCopy() *ELBAttachmentStatus

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

func (*ELBAttachmentStatus) DeepCopyInto

func (in *ELBAttachmentStatus) DeepCopyInto(out *ELBAttachmentStatus)

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

type ELBList

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

ELBList contains a list of ELBs

func (*ELBList) DeepCopy

func (in *ELBList) DeepCopy() *ELBList

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

func (*ELBList) DeepCopyInto

func (in *ELBList) DeepCopyInto(out *ELBList)

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

func (*ELBList) DeepCopyObject

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

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

func (*ELBList) GetItems

func (l *ELBList) GetItems() []resource.Managed

GetItems of this ELBList.

type ELBObservation

type ELBObservation struct {
	// Information about the EC2 instances for this ELB.
	BackendServerDescriptions []BackendServerDescription `json:"backendServerDescriptions,omitempty"`

	// The DNS name of the load balancer.
	CanonicalHostedZoneName string `json:"canonicalHostedZoneName,omitempty"`

	// The ID of the Amazon Route 53 hosted zone for the load balancer.
	CanonicalHostedZoneNameID string `json:"canonicalHostedZoneNameId,omitempty"`

	// The DNS name of the load balancer.
	DNSName string `json:"dnsName,omitempty"`

	// The ID of the VPC for the load balancer.
	VPCID string `json:"vpcId,omitempty"`
}

ELBObservation keeps the state for the external resource

func (*ELBObservation) DeepCopy

func (in *ELBObservation) DeepCopy() *ELBObservation

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

func (*ELBObservation) DeepCopyInto

func (in *ELBObservation) DeepCopyInto(out *ELBObservation)

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

type ELBParameters

type ELBParameters struct {
	// Region is the region you'd like your ELB to be created in.
	Region string `json:"region"`

	// One or more Availability Zones from the same region as the load balancer.
	// +optional
	AvailabilityZones []string `json:"availabilityZones,omitempty"`

	// Information about the health checks conducted on the load balancer.
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`

	// The listeners for this ELB.
	Listeners []Listener `json:"listeners"`

	// The type of a load balancer. Valid only for load balancers in a VPC.
	// +optional
	// +immutable
	Scheme *string `json:"scheme,omitempty"`

	// The IDs of the security groups to assign to the load balancer.
	// +optional
	SecurityGroupIDs []string `json:"securityGroupIds,omitempty"`

	// SecurityGroupIDRefs references to a SecurityGroup and retrieves its SecurityGroupID
	// +optional
	SecurityGroupIDRefs []xpv1.Reference `json:"securityGroupIdRefs,omitempty"`

	// SecurityGroupIDSelector selects a set of references that each retrieve the SecurityGroupID from the referenced SecurityGroup
	// +optional
	SecurityGroupIDSelector *xpv1.Selector `json:"securityGroupIdSelector,omitempty"`

	// The IDs of the subnets in your VPC to attach to the load balancer. Specify
	// one subnet per Availability Zone specified in AvailabilityZones.
	// +optional
	SubnetIDs []string `json:"subnetIds,omitempty"`

	// SubnetRefs references to a Subnet to and retrieves its SubnetID
	// +optional
	SubnetIDRefs []xpv1.Reference `json:"subnetIdRefs,omitempty"`

	// SubnetSelector selects a set of references that each retrieve the subnetID from the referenced Subnet
	// +optional
	SubnetIDSelector *xpv1.Selector `json:"subnetIdSelector,omitempty"`

	// A list of tags to assign to the load balancer.
	// +optional
	Tags []Tag `json:"tags,omitempty"`
}

ELBParameters define the desired state of an AWS ELB.

func (*ELBParameters) DeepCopy

func (in *ELBParameters) DeepCopy() *ELBParameters

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

func (*ELBParameters) DeepCopyInto

func (in *ELBParameters) DeepCopyInto(out *ELBParameters)

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

type ELBSpec

type ELBSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ELBParameters `json:"forProvider"`
}

An ELBSpec defines the desired state of an ELB.

func (*ELBSpec) DeepCopy

func (in *ELBSpec) DeepCopy() *ELBSpec

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

func (*ELBSpec) DeepCopyInto

func (in *ELBSpec) DeepCopyInto(out *ELBSpec)

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

type ELBStatus

type ELBStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ELBObservation `json:"atProvider,omitempty"`
}

An ELBStatus represents the observed state of an ELB.

func (*ELBStatus) DeepCopy

func (in *ELBStatus) DeepCopy() *ELBStatus

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

func (*ELBStatus) DeepCopyInto

func (in *ELBStatus) DeepCopyInto(out *ELBStatus)

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

type HealthCheck

type HealthCheck struct {

	// The number of consecutive health checks successes required before moving
	// the instance to the Healthy state.
	HealthyThreshold int32 `json:"healthyThreshold"`

	// The approximate interval, in seconds, between health checks of an individual
	// instance.
	Interval int32 `json:"interval"`

	// The instance being checked.
	Target string `json:"target"`

	// The amount of time, in seconds, during which no response means a failed health
	// check.
	Timeout int32 `json:"timeout"`

	// The number of consecutive health check failures required before moving the
	// instance to the Unhealthy state.
	UnhealthyThreshold int32 `json:"unhealthyThreshold"`
}

HealthCheck defines the rules that the ELB uses to decide if an attached instance is healthy.

func (*HealthCheck) DeepCopy

func (in *HealthCheck) DeepCopy() *HealthCheck

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

func (*HealthCheck) DeepCopyInto

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

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

type Listener

type Listener struct {

	// The port on which the instance is listening.
	InstancePort int32 `json:"instancePort"`

	// The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or
	// SSL. If not specified, the value is same as for Protocol.
	// +optional
	InstanceProtocol *string `json:"instanceProtocol,omitempty"`

	// The port on which the load balancer is listening.
	LoadBalancerPort int32 `json:"loadBalancerPort"`

	// The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP,
	// or SSL.
	Protocol string `json:"protocol"`

	// The Amazon Resource Name (ARN) of the server certificate.
	// +optional
	SSLCertificateID *string `json:"sslCertificateId,omitempty"`
}

Listener represents the port binding(s) between the ELB and EC2 instances.

func (*Listener) DeepCopy

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto

func (in *Listener) DeepCopyInto(out *Listener)

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

type Tag

type Tag struct {

	// The key of the tag.
	Key string `json:"key"`

	// The value of the tag.
	// +optional
	Value *string `json:"value,omitempty"`
}

Tag defines a key value pair that can be attached to an ELB

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

Jump to

Keyboard shortcuts

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