1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Anusha Ragunathan af2e256249 Return pipeline errors correctly.
To use a deferred func to overwrite the returned error requires using
the 'named' error. So reuse err, instead of pipelineError. Also, the old
pipelineError will never be nil, since its executed before the error can
be set.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-09-23 13:09:56 -07:00
..
aaparser apparmor: do not save profile to /etc/apparmor.d 2016-09-13 16:25:16 +10:00
archive fix racy tests in pkg/archive 2016-09-14 04:17:23 +00:00
authorization
broadcaster
chrootarchive
devicemapper
directory
discovery
filenotify
fileutils
gitutils
graphdb
homedir
httputils
idtools
integration Return pipeline errors correctly. 2016-09-23 13:09:56 -07:00
ioutils Merge pull request #25523 from dmcgowan/fsync-layer-filestore 2016-09-08 10:03:12 -07:00
jsonlog
jsonmessage
listeners
locker
longpath
loopback
mount
namesgenerator
parsers
pidfile
platform Windows: stats support 2016-09-16 11:56:15 -07:00
plugins Make graphdrivers work with pluginv2. 2016-09-20 08:49:48 -07:00
pools
progress progress: Rate limit progress bar output 2016-09-14 17:23:16 -07:00
promise
pubsub
random
reexec
registrar
signal Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
stdcopy
streamformatter
stringid
stringutils
symlink Don't attempt to evaluate drive root on Windows 2016-09-08 13:52:54 -07:00
sysinfo
system
tailfile
tarsum
term
testutil
tlsconfig tlsconfig: move Clone into proper package 2016-09-09 12:05:17 -07:00
truncindex
urlutil
useragent
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!