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

Method CreateFilter

skipper_test.go:461–464  ·  view source on GitHub ↗
(config []interface{})

Source from the content-addressed store, hash-verified

459
460func (s *customRatelimitSpec) Name() string { return "customRatelimit" }
461func (s *customRatelimitSpec) CreateFilter(config []interface{}) (filters.Filter, error) {
462 log.Infof("Registry: %v", s.registry)
463 return &customRatelimitFilter{}, nil
464}
465func (f *customRatelimitFilter) Request(ctx filters.FilterContext) {}
466func (f *customRatelimitFilter) Response(ctx filters.FilterContext) {}
467

Callers

nothing calls this directly

Calls 1

InfofMethod · 0.65

Tested by

no test coverage detected