Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the networkingress v1 API group +kubebuilder:object:generate=true +groupName=little-angry-clouds.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "little-angry-clouds.k8s.io", Version: "v1"} // 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 NetworkIngress ¶
type NetworkIngress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkIngressSpec `json:"spec"` }
NetworkIngress is the Schema for the Network Ingress API.
func (*NetworkIngress) DeepCopy ¶
func (in *NetworkIngress) DeepCopy() *NetworkIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkIngress.
func (*NetworkIngress) DeepCopyInto ¶
func (in *NetworkIngress) DeepCopyInto(out *NetworkIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkIngress) DeepCopyObject ¶
func (in *NetworkIngress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkIngressList ¶
type NetworkIngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkIngress `json:"items"` }
NetworkIngressList contains a list of NetworkIngress.
func (*NetworkIngressList) DeepCopy ¶
func (in *NetworkIngressList) DeepCopy() *NetworkIngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkIngressList.
func (*NetworkIngressList) DeepCopyInto ¶
func (in *NetworkIngressList) DeepCopyInto(out *NetworkIngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkIngressList) DeepCopyObject ¶
func (in *NetworkIngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkIngressSpec ¶
type NetworkIngressSpec struct { // A list of hosts and its associated ports used to configure the Network // Ingress. Rules []Rule `json:"rules"` }
NetworkIngressSpec is the main NetworkIngress specification.
func (*NetworkIngressSpec) DeepCopy ¶
func (in *NetworkIngressSpec) DeepCopy() *NetworkIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkIngressSpec.
func (*NetworkIngressSpec) DeepCopyInto ¶
func (in *NetworkIngressSpec) DeepCopyInto(out *NetworkIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkIngressStatus ¶
type NetworkIngressStatus struct { }
NetworkIngressStatus defines the observed state of NetworkIngress.
func (*NetworkIngressStatus) DeepCopy ¶
func (in *NetworkIngressStatus) DeepCopy() *NetworkIngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkIngressStatus.
func (*NetworkIngressStatus) DeepCopyInto ¶
func (in *NetworkIngressStatus) DeepCopyInto(out *NetworkIngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct { // Name of the rule. This will be used as ID // +kubebuilder:validation:MaxLength 63 Name string `json:"name"` // Host of the rule. This is the destination machine that Haproxy will conecct to. Host string `json:"host"` // Port of the rule. This is the port that will be configured in the service. Port int `json:"port"` // Target port of the rule. This is the port that will be configured in the Haproxy' s configuration TargetPort int `json:"targetPort"` }
Rule is the core of a Network Ingress . It defines name, host, port and target port of a rule.
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.