Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "flomesh.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type HTTP ¶
type HTTP struct { // Enabled, if HTTP is enabled for the Ingress Controller // +optional Enabled bool `json:"enabled"` // Port, The http port that are exposed by this ingress service. Port corev1.ServicePort `json:"port,omitempty"` }
func (*HTTP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP.
func (*HTTP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedIngress ¶
type NamespacedIngress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NamespacedIngressSpec `json:"spec,omitempty"` Status NamespacedIngressStatus `json:"status,omitempty"` }
NamespacedIngress is the Schema for the NamespacedIngresss API
func (*NamespacedIngress) DeepCopy ¶
func (in *NamespacedIngress) DeepCopy() *NamespacedIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedIngress.
func (*NamespacedIngress) DeepCopyInto ¶
func (in *NamespacedIngress) DeepCopyInto(out *NamespacedIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespacedIngress) DeepCopyObject ¶
func (in *NamespacedIngress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespacedIngressList ¶
type NamespacedIngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NamespacedIngress `json:"items"` }
NamespacedIngressList contains a list of NamespacedIngress
func (*NamespacedIngressList) DeepCopy ¶
func (in *NamespacedIngressList) DeepCopy() *NamespacedIngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedIngressList.
func (*NamespacedIngressList) DeepCopyInto ¶
func (in *NamespacedIngressList) DeepCopyInto(out *NamespacedIngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespacedIngressList) DeepCopyObject ¶
func (in *NamespacedIngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespacedIngressSpec ¶
type NamespacedIngressSpec struct { // ServiceType determines how the Ingress is exposed. For an Ingress // the most used types are NodePort, and LoadBalancer ServiceType corev1.ServiceType `json:"serviceType,omitempty"` // ServiceAnnotations, those annotations are applied to Ingress Service // +optional ServiceAnnotations map[string]string `json:"serviceAnnotations,omitempty"` // ServiceLabels, those annotations are applied to Ingress Service // +optional ServiceLabels map[string]string `json:"serviceLabels,omitempty"` // PodAnnotations, those annotations are applied to Ingress POD // +optional PodAnnotations map[string]string `json:"podAnnotations,omitempty"` // PodAnnotations, those labels are applied to Ingress POD // +optional PodLabels map[string]string `json:"podLabels,omitempty"` // The http configuration of this ingress controller. // +optional HTTP HTTP `json:"http,omitempty"` // TLS is the configuration of TLS of this ingress controller // +optional TLS TLS `json:"tls,omitempty"` // List of environment variables to set in the ingress container. // Cannot be updated. // +optional Env []corev1.EnvVar `json:"env,omitempty"` // Compute Resources required by Ingress container. // Cannot be updated. // +optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // +optional // +mapType=atomic NodeSelector map[string]string `json:"nodeSelector,omitempty"` // ServiceAccountName is the name of the ServiceAccount to use to run this pod. // +optional ServiceAccountName string `json:"serviceAccountName,omitempty"` // If specified, the pod's scheduling constraints // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // If specified, the pod's tolerations. // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` // LogLevel is the log level of this ingress controller pod. // +optional LogLevel *int `json:"logLevel,omitempty"` // Replicas, how many replicas of the ingress controller will be running for this namespace. // +optional Replicas *int32 `json:"replicas,omitempty"` // SecurityContext defines the security options the container should be run with. // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` // PodSecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. // +optional PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` }
NamespacedIngressSpec defines the desired state of NamespacedIngress
func (*NamespacedIngressSpec) DeepCopy ¶
func (in *NamespacedIngressSpec) DeepCopy() *NamespacedIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedIngressSpec.
func (*NamespacedIngressSpec) DeepCopyInto ¶
func (in *NamespacedIngressSpec) DeepCopyInto(out *NamespacedIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedIngressStatus ¶
type NamespacedIngressStatus struct { Replicas int32 `json:"replicas"` Selector string `json:"selector"` }
NamespacedIngressStatus defines the observed state of NamespacedIngress
func (*NamespacedIngressStatus) DeepCopy ¶
func (in *NamespacedIngressStatus) DeepCopy() *NamespacedIngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedIngressStatus.
func (*NamespacedIngressStatus) DeepCopyInto ¶
func (in *NamespacedIngressStatus) DeepCopyInto(out *NamespacedIngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSLPassthrough ¶
type SSLPassthrough struct { // Enabled, if SSL passthrough is enabled for the Ingress Controller // It's mutual exclusive with TLS offload/termination within the controller scope. // +optional Enabled bool `json:"enabled"` // UpstreamPort, is the port of upstream services. // +optional UpstreamPort *int32 `json:"upstreamPort"` }
func (*SSLPassthrough) DeepCopy ¶
func (in *SSLPassthrough) DeepCopy() *SSLPassthrough
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLPassthrough.
func (*SSLPassthrough) DeepCopyInto ¶
func (in *SSLPassthrough) DeepCopyInto(out *SSLPassthrough)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLS ¶
type TLS struct { // Enabled, if TLS is enabled for the Ingress Controller // +optional Enabled bool `json:"enabled"` // Port, The https port that are exposed by this ingress service. Port corev1.ServicePort `json:"port,omitempty"` // SSLPassthrough configuration // +optional SSLPassthrough SSLPassthrough `json:"sslPassthrough,omitempty"` }
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.