MCPcopy Index your code
hub / github.com/zalando/skipper / PriorityRoute

Interface PriorityRoute

proxy/proxy.go:461–466  ·  view source on GitHub ↗

PriorityRoute are custom route implementations that are matched against each request before the routes in the general lookup tree.

Source from the content-addressed store, hash-verified

459// PriorityRoute are custom route implementations that are matched against
460// each request before the routes in the general lookup tree.
461type PriorityRoute interface {
462 // If the request is matched, returns a route; otherwise, nil.
463 // Additionally it may return a parameter map used by the filters
464 // in the route.
465 Match(*http.Request) (*routing.Route, map[string]string)
466}
467
468// Proxy instances implement Skipper proxying functionality. For
469// initializing, see the WithParams the constructor and Params.

Callers 1

lookupRouteMethod · 0.65

Implementers 15

nonePredicate_test_plugins_fail/fail.go
falsePredicatepredicates/primitive/false.go
shutdownpredicates/primitive/shutdown.go
truePredicatepredicates/primitive/true.go
headerSha256Predicatepredicates/auth/headersha256.go
exactMatcherpredicates/auth/jwt.go
regexMatcherpredicates/auth/jwt.go
predicatepredicates/auth/jwt.go
AnyPredicatepredicates/host/any.go
predicatepredicates/cron/cron.go
predicatepredicates/source/source.go
predicatepredicates/tee/tee.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…