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

Struct editAndAddRoutePreProcessor

validation/validation_test.go:287–287  ·  view source on GitHub ↗

editAndAddRoutePreProcessor is a test preprocessor that both transforms routes and adds additional routes, similar to OAuth Grant preprocessor behavior

Source from the content-addressed store, hash-verified

285// editAndAddRoutePreProcessor is a test preprocessor that both transforms routes
286// and adds additional routes, similar to OAuth Grant preprocessor behavior
287type editAndAddRoutePreProcessor struct{}
288
289func (p *editAndAddRoutePreProcessor) Do(routes []*eskip.Route) []*eskip.Route {
290 result := make([]*eskip.Route, len(routes))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected