package
0.0.0-20250312040540-257abf3bdbdf
Repository: https://github.com/openshift/cluster-ingress-operator.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DeleteIngressControllerConditionsMetric deletes ingress_controller_conditions metrics which belong to the given ingresscontroller.
DetermineReplicas implements the replicas choice algorithm as described in the documentation for the IngressController replicas parameter.
GetMIMETypes returns a slice of strings from an array of operatorv1.CompressionMIMETypes.
HardStopAfterIsEnabled returns true if either the ingress controller or the ingress config has the "hard-stop-after" annotation.
HardStopAfterIsEnabledByAnnotation returns true if the map m has the key RouterHardStopAfterEnvName and its value is a valid HAProxy time duration.
HTTP2IsEnabled returns true if the ingress controller enables http/2, or if the ingress config enables http/2.
HTTP2IsEnabledByAnnotation returns true if the map m has the key RouterDisableHTTP2Annotation present and true|false depending on the annotation's value that is parsed by strconv.ParseBool.
IngressStatusesEqual compares two IngressControllerStatus values.
IsProxyProtocolNeeded checks whether proxy protocol is needed based upon the given ic and platform.
IsServiceInternal returns a Boolean indicating whether the provided service is annotated to request an internal load balancer.
IsStatusDomainSet checks whether status.domain of ingress is set.
JoinAWSEIPAllocations joins an AWS EIPAllocations object into a string seperated by sep.
JoinAWSSubnets joins an AWS Subnets object into a string seperated by sep.
MergeConditions adds or updates matching conditions, and updates the transition time if the status of a condition changed.
New creates the ingress controller from configuration.
PruneConditions removes any conditions that are not currently supported.
RegisterMetrics calls prometheus.Register on each metric in metricsList, and returns on errors.
SetIngressControllerConditionsMetric updates the ingress_controller_conditions metric values for the given IngressController.
No description provided by the author

# Constants

AWSLBTypeAnnotation is a Service annotation used to specify an AWS load balancer type.
AWSNLBAnnotation is the annotation value of an AWS Network Load Balancer (NLB).
GCPGlobalAccessAnnotation is the annotation used on an internal load balancer service to enable the GCP Global Access feature.
No description provided by the author
No description provided by the author
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
TODO: consider moving these to openshift/api.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Annotation used to inform the certificate generation service to generate a cluster-signed certificate and populate the secret.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

InternalLBAnnotations maps platform to the annotation name and value that tell the cloud provider that is associated with the platform that the load balancer is internal.

# Structs

Config holds all the things necessary for the controller to run.