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

Method Create

routing/routing.go:82–82  ·  view source on GitHub ↗

Creates a predicate instance with concrete arguments.

([]interface{})

Source from the content-addressed store, hash-verified

80
81 // Creates a predicate instance with concrete arguments.
82 Create([]interface{}) (Predicate, error)
83}
84
85type WeightedPredicateSpec interface {

Callers 15

createFileWithFunction · 0.65
TestFalseFunction · 0.65
TestTrueFunction · 0.65
TestShutdownFunction · 0.65
TestShutdownErrorsFunction · 0.65
TestHeaderSHA256ArgsFunction · 0.65
TestHeaderSHA256MatchFunction · 0.65
Test_spec_CreateFunction · 0.65
BenchmarkJWTPayloadAnyKVFunction · 0.65
BenchmarkJWTPayloadAllKVFunction · 0.65

Implementers 15

noneSpec_test_plugins_fail/fail.go
falseSpecpredicates/primitive/false.go
shutdownpredicates/primitive/shutdown.go
trueSpecpredicates/primitive/true.go
headerSha256Specpredicates/auth/headersha256.go
specpredicates/auth/jwt.go
anySpecpredicates/host/any.go
specpredicates/cron/cron.go
specpredicates/source/source.go
specpredicates/tee/tee.go
specpredicates/query/query.go
segmentSpecpredicates/traffic/segment.go

Calls

no outgoing calls

Tested by 15

createFileWithFunction · 0.52
TestFalseFunction · 0.52
TestTrueFunction · 0.52
TestShutdownFunction · 0.52
TestShutdownErrorsFunction · 0.52
TestHeaderSHA256ArgsFunction · 0.52
TestHeaderSHA256MatchFunction · 0.52
Test_spec_CreateFunction · 0.52
BenchmarkJWTPayloadAnyKVFunction · 0.52
BenchmarkJWTPayloadAllKVFunction · 0.52