Documentation
¶
Index ¶
- func ComputeDNSStatus(ic *operatorv1.IngressController, wildcardRecord *iov1.DNSRecord, ...) []operatorv1.OperatorCondition
- func ComputeGatewayAPIDNSStatus(dnsConfig *configv1.DNS, generation int64, ...)
- func ComputeGatewayAPILoadBalancerStatus(service *corev1.Service, operandEvents []corev1.Event, generation int64, ...)
- func ComputeLoadBalancerStatus(ic *operatorv1.IngressController, service *corev1.Service, ...) []operatorv1.OperatorCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeDNSStatus ¶
func ComputeDNSStatus(ic *operatorv1.IngressController, wildcardRecord *iov1.DNSRecord, status *configv1.PlatformStatus, dnsConfig *configv1.DNS, gatewayAPI bool) []operatorv1.OperatorCondition
ComputeDNSStatus computes the status conditions based on the DNSRecord, the current configuration of an Ingress Controller, and the Platform. It will return an array of conditions that signals if a DNS record for a resource could be published, and the reason on success or failure
func ComputeGatewayAPIDNSStatus ¶
func ComputeGatewayAPIDNSStatus(dnsConfig *configv1.DNS, generation int64, gwstatus *gatewayapiv1.GatewayStatus, listenerToHostname map[gatewayapiv1.SectionName]gatewayapiv1.Hostname, hostnameToDNSRecord map[string]*iov1.DNSRecord)
ComputeGatewayAPIDNSStatus will update inplace DNSRecord conditions for GatewayAPI, using the same logic of Ingress Controller condition status. This function is a wrapper for the IngressController one, but deals with metav1.Condition and also inplace replacements as Gateway API is capable of doing condition merge It deals with both DNSReady conditions on the Gateway level and on the listener level
func ComputeGatewayAPILoadBalancerStatus ¶
func ComputeGatewayAPILoadBalancerStatus(service *corev1.Service, operandEvents []corev1.Event, generation int64, existingConditions *[]metav1.Condition)
ComputeGatewayAPILoadBalancerStatus will update inplace LoadBalancer conditions for GatewayAPI, using the same logic of Ingress Controller condition status. This function is a wrapper for the IngressController one, but deals with metav1.Condition and also inplace replacements as Gateway API is capable of doing condition merge
func ComputeLoadBalancerStatus ¶
func ComputeLoadBalancerStatus(ic *operatorv1.IngressController, service *corev1.Service, operandEvents []corev1.Event, gwapi bool) []operatorv1.OperatorCondition
ComputeLoadBalancerStatus returns the set of current LoadBalancer-prefixed conditions for the given ingress controller, which are used later to determine the ingress controller's Degraded or Available status.
Types ¶
This section is empty.