1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Brian Goff e9751047e9 Fix deadlock on v1 plugin with activate error
When a plugin has an activation error, it was not being checked in the
`waitActive` loop. This means it will just wait forever for a manifest
to be populated even though it may never come.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit f2d384fca6)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 17:19:02 -08:00
..
aaparser fix apparmor load profile 2016-12-09 14:10:58 -08:00
archive Windows: Use sequential file access 2016-11-16 11:05:23 -08:00
authorization Rename Remote API to Engine API 2016-11-22 16:49:58 -08:00
broadcaster
chrootarchive Merge pull request #28047 from cpuguy83/27773_chrootarchive_rbind 2016-11-09 10:52:14 -08:00
devicemapper fix a few golint errors 2016-11-19 23:50:06 -08:00
directory
discovery fix typo 2016-11-18 13:27:01 -08:00
filenotify
fileutils
fsutils overlay: warn if overlay backing fs doesn't support d_type 2016-11-09 07:18:27 +00:00
gitutils
graphdb Windows: Factor out sqlite 2016-12-02 13:40:06 -08:00
homedir
httputils
idtools Remove use of pkg/integration in pkg/idtools 2016-11-08 17:21:02 +01:00
integration Remove use of pkg/integration in pkg/idtools 2016-11-08 17:21:02 +01:00
ioutils s/bCap/bLen/ 2016-11-18 13:31:39 -08:00
jsonlog
jsonmessage pkg/jsonmessage: Avoid undefined ANSI escape codes. 2016-11-10 14:10:47 +00:00
listeners
locker
longpath
loopback
mount
namesgenerator Add some adjectives to the namesgenerator 2016-11-30 14:07:37 -08:00
parsers
pidfile
platform Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 18:40:35 -08:00
plugingetter Add a GetAll function that returns only managed plugins supported by V2 2017-01-03 15:37:46 -08:00
plugins Fix deadlock on v1 plugin with activate error 2017-01-24 17:19:02 -08:00
pools
progress Implement content addressability for plugins 2016-12-27 13:31:14 -08:00
promise
pubsub
random
reexec
registrar
signal Move stack dump dir to exec root 2016-11-30 14:02:24 -08:00
stdcopy
streamformatter
stringid
stringutils
symlink
sysinfo Only show global warnings once 2017-01-24 17:00:24 -08:00
system Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 18:40:35 -08:00
tailfile Change reading order of tailfile 2016-11-14 11:58:01 -08:00
tarsum
term Windows: Fix crash in docker system prune 2016-12-12 13:25:01 -08:00
testutil
tlsconfig
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!