moby--moby/pkg
Sebastiaan van Stijn 07ff4f1de8
goimports: fix imports
Format the source according to latest goimports.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-18 12:56:54 +02:00
..
aaparser
archive archive: fix race condition in cmdStream 2019-09-11 07:37:14 -04:00
authorization Format code with gofmt -s from go-1.11beta1 2018-09-06 15:24:16 -07:00
broadcaster
capabilities Add more import comments 2019-04-10 16:59:33 +02:00
chrootarchive Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
containerfs Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
devicemapper devicemapper: remove unused errors 2019-08-07 12:27:44 +02:00
directory TestMoveToSubdir: use sort.Strings() (gosimple) 2019-09-18 12:55:45 +02:00
discovery Setup tests 2019-09-09 21:09:57 +00:00
dmesg Use Klogctl from x/sys/unix to read Linux kernel log 2019-08-22 08:25:13 +02:00
filenotify Make sure timers are stopped after use. 2019-01-16 14:32:53 -08:00
fileutils Remove duplicated words in pkg files 2018-10-05 22:32:14 +08:00
fsutils
homedir allow running `dockerd` in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
idtools Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
ioutils Fixed the inconsistence and also a potential data race in pkg/ioutils/bytespipe.go: bp.closeErr is read/write 8 times; 7 out of 8 times it is protected by bp.mu.Lock(); 1 out of 8 times it is read without a Lock 2019-07-01 11:38:38 -07:00
jsonmessage goimports: fix imports 2019-09-18 12:56:54 +02:00
locker
longpath
loopback Use correct `LOOP_CTL_GET_FREE` API in `pkg/loopback` 2019-08-27 06:22:10 -07:00
mount Fix to gofmt/goimports errors 2019-05-28 20:32:27 +03:00
namesgenerator Remove cocky from names-generator 2019-07-02 16:51:11 +00:00
parsers goimports: fix imports 2019-09-18 12:56:54 +02:00
pidfile Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
platform Use unix.Uname instead of shelling out to uname on darwin/freebsd 2019-09-03 22:43:16 +02:00
plugingetter
plugins Merge pull request #39422 from lemrouch/35876-workaround 2019-07-22 10:21:50 -07:00
pools pkg/pools/pools.go: suppress SA6002: argument should be pointer-like for now 2019-09-18 12:55:44 +02:00
progress pkg/progress: work around closing closed channel panic 2018-09-06 20:20:12 +00:00
pubsub Make sure timers are stopped after use. 2019-01-16 14:32:53 -08:00
reexec
signal pkg/signal.TestTrap: use a subtest 2019-01-12 18:04:44 +01:00
stdcopy
streamformatter Remove duplicated words in pkg files 2018-10-05 22:32:14 +08:00
stringid Entropy cannot be saved 2019-06-07 11:54:45 +01:00
symlink Update LICENSE 2018-09-12 14:27:53 +01:00
sysinfo Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
system goimports: fix imports 2019-09-18 12:56:54 +02:00
tailfile Use assert.NilError() instead of assert.Assert() 2019-01-21 13:16:02 +01:00
tarsum
term goimports: fix imports 2019-09-18 12:56:54 +02:00
truncindex Entropy cannot be saved 2019-06-07 11:54:45 +01:00
urlutil
useragent
README.md

README.md

pkg/ is a collection of utility packages used by the Moby project without being specific to its internals.

Utility packages are kept separate from the moby 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 Moby 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!