1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Liron Levin f875caf6bf 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>
(cherry picked from commit 5ffc810df2)

From PR #20002
2016-02-10 12:58:27 -05:00
..
aaparser
archive
authorization Fix 19575: Docker events doesn't work with authorization plugin 2016-02-10 12:58:27 -05:00
broadcaster
chrootarchive
devicemapper
directory
discovery Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
filenotify
fileutils
gitutils
graphdb
homedir
httputils
idtools
integration
ioutils
jsonlog
jsonmessage Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
locker
longpath
loopback
mflag Verify that the configuration keys in the file are valid. 2016-01-26 12:58:53 -08:00
mount
namesgenerator Merge pull request #19222 from justincormack/shirley 2016-01-11 00:09:45 +01:00
parsers
pidfile fix pidfile, pid is num use '/proc + string(pid)' can't found it 2016-01-14 16:03:33 +08:00
platform
plugins Add back compat for volume drivers Get and Ls 2016-01-26 12:58:58 -08:00
pools
progress Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
promise
proxy
pubsub
random
reexec
registrar Build names and links at runtime 2016-01-07 14:10:42 -05:00
signal
stdcopy
streamformatter Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
stringid
stringutils
symlink Update LICENSE date 2015-12-31 13:07:35 +00:00
sysinfo check seccomp is configured in the kernel 2016-01-12 09:45:21 -08:00
system
tailfile
tarsum
term Improvements to ANSI emulation in conemu 2016-02-02 12:20:13 -05:00
tlsconfig
truncindex
urlutil Fix 'tcp+tls' protocol not being accepted 2016-02-10 11:29:28 -05:00
useragent
version
README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!