MCPcopy Create free account
hub / github.com/zalando/skipper / isTreePredicate

Function isTreePredicate

routing/datasource.go:281–290  ·  view source on GitHub ↗

check if a predicate is a distinguished, path tree predicate

(name string)

Source from the content-addressed store, hash-verified

279
280// check if a predicate is a distinguished, path tree predicate
281func isTreePredicate(name string) bool {
282 switch name {
283 case predicates.PathSubtreeName:
284 return true
285 case predicates.PathName:
286 return true
287 default:
288 return false
289 }
290}
291
292func getFreeStringArgs(count int, p *eskip.Predicate) ([]string, error) {
293 if len(p.Args) != count {

Callers 3

createFilterFunction · 0.85
processPredicatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…