# Functions
ContourAnnotation checks the Object for the given annotation with the "projectcontour.io/" prefix.
HTTPAllowed returns true unless the kubernetes.io/ingress.allow-http annotation is present and set to false.
IngressClass returns the first matching ingress class for the following annotations: 1.
IsKnown checks if an annotation is one Contour knows about.
MaxConnections returns the value of the first matching max-connections annotation for the following annotations: 1.
MaxPendingRequests returns the value of the first matching max-pending-requests annotation for the following annotations: 1.
MaxRequests returns the value of the first matching max-requests annotation for the following annotations: 1.
MaxRetries returns the value of the first matching max-retries annotation for the following annotations: 1.
NumRetries returns the number of retries specified by the "projectcontour.io/num-retries" annotation.
ParseUpstreamProtocols parses the annotations map for projectcontour.io/upstream-protocol.{protocol} annotations.
PerHostMaxConnections returns the value of the first matching per-host-max-connectionss annotation for the following annotations: 1.
PerTryTimeout returns the duration envoy will wait per retry cycle.
TLSCertNamespace returns the namespace name of the delegated certificate if projectcontour.io/tls-cert-namespace annotation is present and non-empty.
TLSRequired returns true if the ingress.kubernetes.io/force-ssl-redirect annotation is present and set to true.
TLSVersion returns the TLS protocol version specified by an ingress annotation or default if non present.
ValidForKind checks if a particular annotation is valid for a given Kind.
WebsocketRoutes retrieves the details of routes that should have websockets enabled from the associated websocket-routes annotation.