Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KongPathRegexPrefix is the reserved prefix string that instructs Kong 3.0+ to interpret a path as a regex.
KongPathRegexPrefix = "~"
)
Variables ¶
This section is empty.
Functions ¶
func PathsFromIngressPaths ¶ added in v2.6.0
func PathsFromIngressPaths(httpIngressPath netv1.HTTPIngressPath, addRegexPrefix bool) []*string
PathsFromIngressPaths takes a path and Ingress path type and returns a set of Kong route paths that satisfy that path type. It optionally adds the Kong 3.x regex path prefix for path types that require a regex path. It rejects unknown path types with an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.