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

Function WithParams

proxy/proxytest/proxytest.go:71–73  ·  view source on GitHub ↗
(fr filters.Registry, proxyParams proxy.Params, routes ...*eskip.Route)

Source from the content-addressed store, hash-verified

69}
70
71func WithParams(fr filters.Registry, proxyParams proxy.Params, routes ...*eskip.Route) *TestProxy {
72 return WithParamsAndRoutingOptions(fr, proxyParams, routing.Options{FilterRegistry: fr}, routes...)
73}
74
75func New(fr filters.Registry, routes ...*eskip.Route) *TestProxy {
76 return WithParams(fr, proxy.Params{CloseIdleConnsPeriod: -time.Second}, routes...)

Callers 10

TestCheckLocalRateLimitFunction · 0.92
TestRetryAfterHeaderFunction · 0.92
newBreakerProxyFunction · 0.92
TestIdleConnsFunction · 0.92
NewFunction · 0.70

Calls 1

Tested by 9

TestCheckLocalRateLimitFunction · 0.74
TestRetryAfterHeaderFunction · 0.74
newBreakerProxyFunction · 0.74
TestIdleConnsFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…