moby--moby/pkg
Tibor Vass b08f071e18 Revert "Merge pull request #16228 from duglin/ContextualizeEvents"
Although having a request ID available throughout the codebase is very
valuable, the impact of requiring a Context as an argument to every
function in the codepath of an API request, is too significant and was
not properly understood at the time of the review.

Furthermore, mixing API-layer code with non-API-layer code makes the
latter usable only by API-layer code (one that has a notion of Context).

This reverts commit de41640435, reversing
changes made to 7daeecd42d.

Signed-off-by: Tibor Vass <tibor@docker.com>

Conflicts:
	api/server/container.go
	builder/internals.go
	daemon/container_unix.go
	daemon/create.go
2015-09-29 14:26:51 -04:00
..
ansiescape
archive Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
broadcastwriter
chrootarchive Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
devicemapper
directory Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
discovery Add `pkg/discovery` for nodes discovery 2015-09-25 13:33:23 -07:00
fileutils Windows: Fix warning on info 2015-09-18 13:39:12 -07:00
graphdb
homedir
httputils
integration Fixes 16556 CI failures 2015-09-24 11:19:00 -07:00
ioutils Merge pull request #16570 from duglin/ReaderFix 2015-09-29 12:55:03 -04:00
jsonlog
jsonmessage Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00
listenbuffer
longpath Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
mflag
mount
namesgenerator Adding another scientist to the hall of fame. 2015-09-18 21:31:12 +02:00
nat
parsers
pidfile
plugins Merge pull request #16494 from calavera/fix_plugin_url_scheme 2015-09-23 16:18:00 -07:00
pools
progressreader
promise
proxy
pubsub
random
reexec
signal
sockets
stdcopy Add StdCopy happy path test: both reading and writing 2015-09-23 17:27:32 +02:00
streamformatter
stringid
stringutils
symlink Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
sysinfo Add support for memory reservation 2015-09-23 14:02:45 +08:00
system
tailfile
tarsum
term Remove unused variable, fix #16310 2015-09-15 22:20:10 +02:00
timeoutconn
timeutils
tlsconfig
truncindex
ulimit
units
urlutil
useragent
version
README.md

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!