Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the elbv2 v1alpha1 API group +kubebuilder:object:generate=true +groupName=elbv2.k8s.aws
Index ¶
- Variables
- type IPBlock
- type NetworkingIngressRule
- type NetworkingPeer
- type NetworkingPort
- type NetworkingProtocol
- type SecurityGroup
- type ServiceReference
- type TargetGroupBinding
- type TargetGroupBindingList
- type TargetGroupBindingNetworking
- type TargetGroupBindingSpec
- type TargetGroupBindingStatus
- type TargetType
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "elbv2.k8s.aws", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type IPBlock ¶
type IPBlock struct { // CIDR is the network CIDR. // Both IPV4 or IPV6 CIDR are accepted. CIDR string `json:"cidr"` }
IPBlock defines source/destination IPBlock in networking rules.
func (*IPBlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkingIngressRule ¶
type NetworkingIngressRule struct { // List of peers which should be able to access the targets in TargetGroup. // At least one NetworkingPeer should be specified. From []NetworkingPeer `json:"from"` // List of ports which should be made accessible on the targets in TargetGroup. // If ports is empty or unspecified, it defaults to all ports with TCP. Ports []NetworkingPort `json:"ports"` }
func (*NetworkingIngressRule) DeepCopy ¶
func (in *NetworkingIngressRule) DeepCopy() *NetworkingIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingIngressRule.
func (*NetworkingIngressRule) DeepCopyInto ¶
func (in *NetworkingIngressRule) DeepCopyInto(out *NetworkingIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkingPeer ¶
type NetworkingPeer struct { // IPBlock defines an IPBlock peer. // If specified, none of the other fields can be set. // +optional IPBlock *IPBlock `json:"ipBlock,omitempty"` // SecurityGroup defines a SecurityGroup peer. // If specified, none of the other fields can be set. // +optional SecurityGroup *SecurityGroup `json:"securityGroup,omitempty"` }
NetworkingPeer defines the source/destination peer for networking rules.
func (*NetworkingPeer) DeepCopy ¶
func (in *NetworkingPeer) DeepCopy() *NetworkingPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingPeer.
func (*NetworkingPeer) DeepCopyInto ¶
func (in *NetworkingPeer) DeepCopyInto(out *NetworkingPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkingPort ¶
type NetworkingPort struct { // The protocol which traffic must match. // If protocol is unspecified, it defaults to TCP. Protocol *NetworkingProtocol `json:"protocol,omitempty"` // The port which traffic must match. // When NodePort endpoints(instance TargetType) is used, this must be a numerical port. // When Port endpoints(ip TargetType) is used, this can be either numerical or named port on pods. // if port is unspecified, it defaults to all ports. // +optional Port *intstr.IntOrString `json:"port,omitempty"` }
func (*NetworkingPort) DeepCopy ¶
func (in *NetworkingPort) DeepCopy() *NetworkingPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingPort.
func (*NetworkingPort) DeepCopyInto ¶
func (in *NetworkingPort) DeepCopyInto(out *NetworkingPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkingProtocol ¶
type NetworkingProtocol string
+kubebuilder:validation:Enum=TCP;UDP
const ( // NetworkingProtocolTCP is the TCP protocol. NetworkingProtocolTCP NetworkingProtocol = "TCP" // NetworkingProtocolUDP is the UDP protocol. NetworkingProtocolUDP NetworkingProtocol = "UDP" )
type SecurityGroup ¶
type SecurityGroup struct { // GroupID is the EC2 SecurityGroupID. GroupID string `json:"groupID"` }
SecurityGroup defines reference to an AWS EC2 SecurityGroup.
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceReference ¶
type ServiceReference struct { // Name is the name of the Service. Name string `json:"name"` // Port is the port of the ServicePort. Port intstr.IntOrString `json:"port"` }
ServiceReference defines reference to a Kubernetes Service and its ServicePort.
func (*ServiceReference) DeepCopy ¶
func (in *ServiceReference) DeepCopy() *ServiceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (*ServiceReference) DeepCopyInto ¶
func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetGroupBinding ¶
type TargetGroupBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TargetGroupBindingSpec `json:"spec,omitempty"` Status TargetGroupBindingStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SERVICE-NAME",type="string",JSONPath=".spec.serviceRef.name",description="The Kubernetes Service's name" +kubebuilder:printcolumn:name="SERVICE-PORT",type="string",JSONPath=".spec.serviceRef.port",description="The Kubernetes Service's port" +kubebuilder:printcolumn:name="TARGET-TYPE",type="string",JSONPath=".spec.targetType",description="The AWS TargetGroup's TargetType" +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".spec.targetGroupARN",description="The AWS TargetGroup's Amazon Resource Name",priority=1 +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" TargetGroupBinding is the Schema for the TargetGroupBinding API
func (*TargetGroupBinding) DeepCopy ¶
func (in *TargetGroupBinding) DeepCopy() *TargetGroupBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupBinding.
func (*TargetGroupBinding) DeepCopyInto ¶
func (in *TargetGroupBinding) DeepCopyInto(out *TargetGroupBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetGroupBinding) DeepCopyObject ¶
func (in *TargetGroupBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetGroupBindingList ¶
type TargetGroupBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TargetGroupBinding `json:"items"` }
TargetGroupBindingList contains a list of TargetGroupBinding
func (*TargetGroupBindingList) DeepCopy ¶
func (in *TargetGroupBindingList) DeepCopy() *TargetGroupBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupBindingList.
func (*TargetGroupBindingList) DeepCopyInto ¶
func (in *TargetGroupBindingList) DeepCopyInto(out *TargetGroupBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetGroupBindingList) DeepCopyObject ¶
func (in *TargetGroupBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetGroupBindingNetworking ¶
type TargetGroupBindingNetworking struct { // List of ingress rules to allow ELBV2 LoadBalancer to access targets in TargetGroup. // +optional Ingress []NetworkingIngressRule `json:"ingress,omitempty"` }
func (*TargetGroupBindingNetworking) DeepCopy ¶
func (in *TargetGroupBindingNetworking) DeepCopy() *TargetGroupBindingNetworking
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupBindingNetworking.
func (*TargetGroupBindingNetworking) DeepCopyInto ¶
func (in *TargetGroupBindingNetworking) DeepCopyInto(out *TargetGroupBindingNetworking)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetGroupBindingSpec ¶
type TargetGroupBindingSpec struct { // targetGroupARN is the Amazon Resource Name (ARN) for the TargetGroup. TargetGroupARN string `json:"targetGroupARN"` // targetType is the TargetType of TargetGroup. If unspecified, it will be automatically inferred. // +optional TargetType *TargetType `json:"targetType,omitempty"` // serviceRef is a reference to a Kubernetes Service and ServicePort. ServiceRef ServiceReference `json:"serviceRef"` // networking provides the networking setup for ELBV2 LoadBalancer to access targets in TargetGroup. // +optional Networking *TargetGroupBindingNetworking `json:"networking,omitempty"` }
TargetGroupBindingSpec defines the desired state of TargetGroupBinding
func (*TargetGroupBindingSpec) DeepCopy ¶
func (in *TargetGroupBindingSpec) DeepCopy() *TargetGroupBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupBindingSpec.
func (*TargetGroupBindingSpec) DeepCopyInto ¶
func (in *TargetGroupBindingSpec) DeepCopyInto(out *TargetGroupBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetGroupBindingStatus ¶
type TargetGroupBindingStatus struct { // The generation observed by the TargetGroupBinding controller. // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
TargetGroupBindingStatus defines the observed state of TargetGroupBinding
func (*TargetGroupBindingStatus) DeepCopy ¶
func (in *TargetGroupBindingStatus) DeepCopy() *TargetGroupBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupBindingStatus.
func (*TargetGroupBindingStatus) DeepCopyInto ¶
func (in *TargetGroupBindingStatus) DeepCopyInto(out *TargetGroupBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetType ¶
type TargetType string
+kubebuilder:validation:Enum=instance;ip
const ( TargetTypeInstance TargetType = "instance" TargetTypeIP TargetType = "ip" )