GatewayPathMatchType
Enum
Specifies the type of path matching used in a Kubernetes Gateway API HTTP rule. The values map directly to the matches[] field defined by the Gateway API (see ) and are distinct from the Ingress-flavoured Ingress because the two specs use different vocabularies (Ingress: Prefix, Gateway: Path).
type GatewayPathMatchType string
const ( GatewayPathMatchTypePathPrefix GatewayPathMatchType = "PathPrefix" GatewayPathMatchTypeExact GatewayPathMatchType = "Exact" GatewayPathMatchTypeRegularExpression GatewayPathMatchType = "RegularExpression")Values
GatewayPathMatchTypePathPrefix"PathPrefix"Matches based on a URL path prefix split by
/. Equivalent to the Gateway API PathPrefix match type.GatewayPathMatchTypeExact"Exact"Matches the URL path exactly and with case sensitivity.
GatewayPathMatchTypeRegularExpression"RegularExpression"Matches the URL path against an implementation-defined regular expression. Support is optional in the Gateway API spec; check your controller's documentation before using it.