HTTPIngress Path Patch
data class HTTPIngressPathPatch(val backend: IngressBackendPatch? = null, val path: String? = null, val pathType: String? = null)
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
Constructors
Link copied to clipboard
fun HTTPIngressPathPatch(backend: IngressBackendPatch? = null, path: String? = null, pathType: String? = null)
Types
Properties
Link copied to clipboard
Link copied to clipboard
pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz).