moby--moby/pkg/authorization
David Calavera 8d3467626e
Move middleware to interfaces.
This makes separating middlewares from the core api easier.
As an example, the authorization middleware is moved to
it's own package.

Initialize all static middlewares when the server is created, reducing
allocations every time a route is wrapper with the middlewares.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-04-11 09:19:27 -07:00
..
api.go pkg: authorization: add Err to tweak response status code 2015-12-17 11:08:47 +01:00
authz.go Fix #20508 - Authz plugin enabled with large text/JSON POST payload corrupts body 2016-02-25 08:11:55 +02:00
authz_unix_test.go fix variables that werent being called 2016-03-17 13:19:55 -07:00
middleware.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
plugin.go pkg: authorization: do not register the same plugin 2015-12-23 21:08:40 +01:00
response.go pkg: cleanup some unused code 2016-03-31 11:39:59 -07:00