pkg/authorization
Liron Levin a903b6a9c8 Fix 19575: Docker events doesn't work with authorization plugin
To support the requirement of blocking the request after the daemon
responded the authorization plugin use a `response recorder` that replay
the response after the flow ends.

This commit adds support for commands that hijack the connection and
flushes data via the http.Flusher interface. This resolves the error
with the event endpoint.

Signed-off-by: Liron Levin <liron@twistlock.com>
2016-02-05 22:30:01 +02:00
..
api.go pkg: authorization: add Err to tweak response status code 2015-12-17 11:08:47 +01:00
authz.go Fix 19575: Docker events doesn't work with authorization plugin 2016-02-05 22:30:01 +02:00
authz_test.go Fix 19575: Docker events doesn't work with authorization plugin 2016-02-05 22:30:01 +02:00
plugin.go pkg: authorization: do not register the same plugin 2015-12-23 21:08:40 +01:00
response.go Fix 19575: Docker events doesn't work with authorization plugin 2016-02-05 22:30:01 +02:00