1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Stephen J Day 0cd4ab3f9a
pkg/package: remove promise package
The promise package represents a simple enough concurrency pattern that
replicating it in place is sufficient. To end the propagation of this
package, it has been removed and the uses have been inlined.

While this code could likely be refactored to be simpler without the
package, the changes have been minimized to reduce the possibility of
defects. Someone else may want to do further refactoring to remove
closures and reduce the number of goroutines in use.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-21 17:56:45 -07:00
..
aaparser
archive pkg/package: remove promise package 2017-09-21 17:56:45 -07:00
authorization Add gosimple linter 2017-09-12 12:09:59 -04:00
broadcaster
chrootarchive LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
containerfs pkg/package: remove promise package 2017-09-21 17:56:45 -07:00
devicemapper devmapper gd: disable for static build 2017-09-17 22:04:31 -07:00
directory Add unconvert linter 2017-08-24 15:08:31 -04:00
discovery Add gosimple linter 2017-09-12 12:09:59 -04:00
dmesg devmapper: show dmesg if mount fails 2017-09-17 22:04:31 -07:00
filenotify
fileutils Add goimports to linters. 2017-08-21 18:15:08 -04:00
fsutils
homedir
idtools
ioutils Fix golint errors. 2017-08-18 14:23:44 -04:00
jsonlog
jsonmessage Fix golint errors. 2017-08-18 14:23:44 -04:00
locker Fix typos in Locker example 2017-09-10 11:34:19 +02:00
longpath
loopback Add gosimple linter 2017-09-12 12:09:59 -04:00
mount Fix CString memory leaks 2017-09-15 09:57:26 +02:00
namesgenerator
parsers
pidfile
platform
plugingetter
plugins Add ineffassign linter 2017-09-08 18:23:21 -04:00
pools Add gosimple linter 2017-09-12 12:09:59 -04:00
progress
pubsub
reexec
signal Add gosimple linter 2017-09-12 12:09:59 -04:00
stdcopy
streamformatter Add goimports to linters. 2017-08-21 18:15:08 -04:00
stringid
stringutils
symlink
sysinfo
system Add LCOW behind experimental, 2017-09-14 13:51:16 -07:00
tailfile
tarsum Add ineffassign linter 2017-09-08 18:23:21 -04:00
term Add ineffassign linter 2017-09-08 18:23:21 -04:00
testutil Merge pull request #34615 from dnephin/remove-pkg-testutil-assert 2017-08-26 19:09:27 -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!