(fr filters.Registry, proxyParams proxy.Params, o routing.Options, wait time.Duration, routes ...*eskip.Route)
| 47 | } |
| 48 | |
| 49 | func 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 | |
| 59 | func WithParamsAndRoutingOptions(fr filters.Registry, proxyParams proxy.Params, o routing.Options, routes ...*eskip.Route) *TestProxy { |
| 60 | return WithParamsAndRoutingOptionsAndWait(fr, proxyParams, o, 0, routes...) |
searching dependent graphs…