package
0.0.0-20211228022950-a1fe31f1f48b
Repository: https://github.com/projectsesame/sesame.git
Documentation: pkg.go.dev

# Functions

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 Sesame 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.
MinTLSVersion returns the TLS protocol version specified by an ingress annotation or default if non present.
NumRetries returns the number of retries specified by the "projectsesame.io/num-retries" annotation.
ParseUpstreamProtocols parses the annotations map for projectsesame.io/upstream-protocol.{protocol} annotations.
PerTryTimeout returns the duration envoy will wait per retry cycle.
SesameAnnotation checks the Object for the given annotation with the "projectsesame.io/" prefix.
TLSRequired returns true if the ingress.kubernetes.io/force-ssl-redirect annotation is present and set to true.
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.