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

Function WithParamsAndRoutingOptionsAndWaitUnstarted

proxy/proxytest/proxytest.go:49–57  ·  view source on GitHub ↗
(fr filters.Registry, proxyParams proxy.Params, o routing.Options, wait time.Duration, routes ...*eskip.Route)

Source from the content-addressed store, hash-verified

47}
48
49func WithParamsAndRoutingOptionsAndWaitUnstarted(fr filters.Registry, proxyParams proxy.Params, o routing.Options, wait time.Duration, routes ...*eskip.Route) *TestProxy {
50 o.FilterRegistry = fr
51 return Config{
52 RoutingOptions: o,
53 ProxyParams: proxyParams,
54 Routes: routes,
55 WaitTime: wait,
56 }.CreateUnstarted()
57}
58
59func WithParamsAndRoutingOptions(fr filters.Registry, proxyParams proxy.Params, o routing.Options, routes ...*eskip.Route) *TestProxy {
60 return WithParamsAndRoutingOptionsAndWait(fr, proxyParams, o, 0, routes...)

Callers 2

TestAdmissionControlFunction · 0.92

Calls 1

CreateUnstartedMethod · 0.80

Tested by 1

TestAdmissionControlFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…