Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the listeners v1alpha1 API group +kubebuilder:object:generate=true +groupName=listeners.kubedoop.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "listeners.kubedoop.dev", 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 AddressType ¶
type AddressType string
const ( AddressTypeHostname AddressType = "Hostname" AddressTypeIP AddressType = "IP" )
type IngressAddressSpec ¶
type IngressAddressSpec struct { // +kubebuilder:validation:Required Address string `json:"address,omitempty"` // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=Hostname;IP AddressType AddressType `json:"addressType,omitempty"` // +kubebuilder:validation:Required Ports map[string]int32 `json:"ports,omitempty"` }
func (*IngressAddressSpec) DeepCopy ¶
func (in *IngressAddressSpec) DeepCopy() *IngressAddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressAddressSpec.
func (*IngressAddressSpec) DeepCopyInto ¶
func (in *IngressAddressSpec) DeepCopyInto(out *IngressAddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Listener ¶
type Listener struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ListenerSpec `json:"spec,omitempty"` Status ListenerStatus `json:"status,omitempty"` }
Listener is the Schema for the listeners API
func (*Listener) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Listener.
func (*Listener) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Listener) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerClass ¶ added in v0.9.2
type ListenerClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ListenerClassSpec `json:"spec,omitempty"` Status ListenerClassStatus `json:"status,omitempty"` }
ListenerClass is the Schema for the listenerclasses API
func (*ListenerClass) DeepCopy ¶ added in v0.9.2
func (in *ListenerClass) DeepCopy() *ListenerClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClass.
func (*ListenerClass) DeepCopyInto ¶ added in v0.9.2
func (in *ListenerClass) DeepCopyInto(out *ListenerClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerClass) DeepCopyObject ¶ added in v0.9.2
func (in *ListenerClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerClassList ¶ added in v0.9.2
type ListenerClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ListenerClass `json:"items"` }
ListenerClassList contains a list of ListenerClass
func (*ListenerClassList) DeepCopy ¶ added in v0.9.2
func (in *ListenerClassList) DeepCopy() *ListenerClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassList.
func (*ListenerClassList) DeepCopyInto ¶ added in v0.9.2
func (in *ListenerClassList) DeepCopyInto(out *ListenerClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerClassList) DeepCopyObject ¶ added in v0.9.2
func (in *ListenerClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerClassSpec ¶ added in v0.9.2
type ListenerClassSpec struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=LoadBalancer;NodePort;ClusterIP ServiceType *corev1.ServiceType `json:"serviceType,omitempty"` // +kubebuilder:validation:Optional ServiceAnnotations map[string]string `json:"serviceAnnotations,omitempty"` }
ListenerClassSpec defines the desired state of ListenerClass
func (*ListenerClassSpec) DeepCopy ¶ added in v0.9.2
func (in *ListenerClassSpec) DeepCopy() *ListenerClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassSpec.
func (*ListenerClassSpec) DeepCopyInto ¶ added in v0.9.2
func (in *ListenerClassSpec) DeepCopyInto(out *ListenerClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerClassStatus ¶ added in v0.9.2
type ListenerClassStatus struct { }
ListenerClassStatus defines the observed state of ListenerClass
func (*ListenerClassStatus) DeepCopy ¶ added in v0.9.2
func (in *ListenerClassStatus) DeepCopy() *ListenerClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassStatus.
func (*ListenerClassStatus) DeepCopyInto ¶ added in v0.9.2
func (in *ListenerClassStatus) DeepCopyInto(out *ListenerClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerList ¶
type ListenerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Listener `json:"items"` }
ListenerList contains a list of Listener
func (*ListenerList) DeepCopy ¶
func (in *ListenerList) DeepCopy() *ListenerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerList.
func (*ListenerList) DeepCopyInto ¶
func (in *ListenerList) DeepCopyInto(out *ListenerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerList) DeepCopyObject ¶
func (in *ListenerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerSpec ¶
type ListenerSpec struct { // +kubebuilder:validation:Required ClassName string `json:"className,omitempty"` // +kubebuilder:validation:Optional ExtraPodMatchLabels map[string]string `json:"extraPodMatchLabels,omitempty"` // +kubebuilder:validation:Optional Ports []PortSpec `json:"ports,omitempty"` }
ListenerSpec defines the desired state of Listener
func (*ListenerSpec) DeepCopy ¶
func (in *ListenerSpec) DeepCopy() *ListenerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerSpec.
func (*ListenerSpec) DeepCopyInto ¶
func (in *ListenerSpec) DeepCopyInto(out *ListenerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerStatus ¶
type ListenerStatus struct { IngressAddresses []IngressAddressSpec `json:"ingressAddresses,omitempty"` NodePorts map[string]int32 `json:"nodePorts,omitempty"` ServiceName string `json:"serviceName,omitempty"` }
ListenerStatus defines the observed state of Listener
func (*ListenerStatus) DeepCopy ¶
func (in *ListenerStatus) DeepCopy() *ListenerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerStatus.
func (*ListenerStatus) DeepCopyInto ¶
func (in *ListenerStatus) DeepCopyInto(out *ListenerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortSpec ¶
type PortSpec struct { // +kubebuilder:validation:Required Name string `json:"name,omitempty"` // +kubebuilder:validation:Required Protocol corev1.Protocol `json:"protocol,omitempty"` // +kubebuilder:validation:Required Port int32 `json:"port,omitempty"` }
func (*PortSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSpec.
func (*PortSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.