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 apparmor: make pkg/aaparser work on read-only root 2017-05-18 00:05:13 +10:00
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 Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
fileutils Add goimports to linters. 2017-08-21 18:15:08 -04:00
fsutils [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
homedir Split homedir files by operating system 2017-07-10 14:10:43 +01:00
idtools Switch Stat syscalls to x/sys/unix 2017-07-27 10:09:02 +02:00
ioutils Fix golint errors. 2017-08-18 14:23:44 -04:00
jsonlog gofmt: 5 files 2017-07-03 10:32:47 -07:00
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 pkg: remove random package 2017-05-08 17:02:02 -07:00
parsers Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
pidfile [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
platform Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
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 Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
pubsub Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
reexec [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
signal Add gosimple linter 2017-09-12 12:09:59 -04:00
stdcopy Spelling fixes 2017-07-03 13:13:09 -07:00
streamformatter Add goimports to linters. 2017-08-21 18:15:08 -04:00
stringid pkg: remove random package 2017-05-08 17:02:02 -07:00
stringutils pkg: remove random package 2017-05-08 17:02:02 -07:00
symlink [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
sysinfo Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
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 Move IsGitTransport() to gitutils 2017-06-26 10:07:04 -07:00
useragent
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!