# Functions
ApplyExpressionToL4KongRoute convert route flavor from traditional to expressions against protocols, snis and dest ports.
AssignRoutePriorityToSplitGRPCRouteMatches assigns priority to ALL split GRPCRoute matches that are split by hostnames and matches from GRPCRoutes listed from the cache.
AssignRoutePriorityToSplitHTTPRouteMatches assigns priority to ALL split matches from ALL HTTPRoutes in the cache.
CalculateGRCPRouteMatchPriorityTraits calculates the traits to decide priority based on the hostname and match split from source GRPCRoute.
CalculateHTTPRouteMatchPriorityTraits calculates the parts of priority that can be decided by the fields in spec of the match split from HTTPRoute.
GenerateKongExpressionRoutesFromGRPCRouteRule generates expression based kong routes from a single GRPCRouteRule.
GenerateKongExpressionRoutesFromHTTPRouteMatches generates Kong routes from HTTPRouteRule pointing to a specific backend.
No description provided by the author
GeneratePluginsFromHTTPRouteFilters converts HTTPRouteFilter into Kong plugins.
KongExpressionRouteFromHTTPRouteMatchWithPriority translates a split HTTPRoute match into expression based kong route with assigned priority.
KongExpressionRouteFromSplitGRPCRouteMatchWithPriority generates expression based Kong route from split GRPCRoute match which contains one or no hostname, and a GRPCRoute match, with its priority is beforehand.
KongServiceNameFromSplitGRPCRouteMatch generates the name of translated Kong service from split GRPCRoute match with the source GRPCRoute and rule index.
KongServiceNameFromSplitHTTPRouteMatch generates service name from split HTTPRoute match.
MaybePrependRegexPrefix takes a path, controller regex prefix, and a legacy heuristic toggle.
MaybePrependRegexPrefixForIngressV1Fn returns a function that prepends a regex prefix to a path for a given netv1.Ingress.
MaybeRewriteURI appends a request-transformer plugin to Kong routes based on the value of konghq.com/rewrite annotation configured on related K8s Ingresses.
PathsFromIngressPaths takes a path and Ingress path type and returns a set of Kong route paths that satisfy that path type.
No description provided by the author
No description provided by the author
SplitGRPCRoute splits a GRPCRoute by hostname and match into multiple matches.
SplitHTTPRoute splits HTTPRoutes into matches with at most one hostname, and one rule with exactly one match.
TranslateHTTPRoute translates a list of HTTPRoutes into a list of HTTPRouteTranslationMeta objects that can be used to instantiate Kong routes and services.
TranslateIngresses receives a slice of Kubernetes Ingress objects and produces a translated set of kong.Services and kong.Routes which will come wrapped in a kongstate.Service object.
# Constants
CatchAllHTTPExpression is the expression to match all HTTP/HTTPS requests.
ControllerPathRegexPrefix is the prefix string used to indicate that the controller should treat a path as a regular expression.
FromResourceKindPriorityShiftBits is the highest 2 bits 45-44 used in priority field of Kong route to note the kind of the resource from which the route is translated.
KongPathRegexPrefix is the reserved prefix string that instructs Kong 3.0+ to interpret a path as a regex.
ResourceKindBitsGRPCRoute is the value of highest 2 bits for routes from GRPCRoutes.
ResourceKindBitsHTTPRoute is the value of highest 2 bits for routes from HTTPRoutes.
ResourceKindBitsIngress is the value of highest 2 bits for routes from ingresses.
# Variables
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
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
KongRouteTranslation is a translation of a single HTTPRoute rule into metadata that can be used to instantiate Kong routes.
KongServiceTranslation is a translation of a single HTTPRoute into metadata that can be used to instantiate Kong routes and services.
SplitGRPCRouteMatch is the GRPCRouteMatch split by rule and match from the source GRPCRoute.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author