moby--moby/pkg
Kir Kolyshkin 7d62e40f7e Switch from x/net/context -> context
Since Go 1.7, context is a standard package. Since Go 1.9, everything
that is provided by "x/net/context" is a couple of type aliases to
types in "context".

Many vendored packages still use x/net/context, so vendor entry remains
for now.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-04-23 13:52:44 -07:00
..
aaparser
archive Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
authorization Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
broadcaster
chrootarchive Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
containerfs Set format in archiver 2018-04-12 13:34:33 -07:00
devicemapper pkg: devmapper: dynamically load dm_task_deferred_remove 2018-02-16 17:23:23 +11:00
directory Support cancellation in `directory.Size()` 2018-03-29 15:49:15 -04:00
discovery
dmesg
filenotify
fileutils Automated migration using 2018-03-16 11:03:43 -04:00
fsutils
homedir
idtools Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
ioutils Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
jsonmessage Cleanup pkg/jsonmessage progress tests 2018-03-16 11:03:47 -04:00
locker
longpath
loopback
mount mount.Unmount(): don't look into /proc/self/mountinfo 2018-04-19 14:49:50 -07:00
namesgenerator
parsers Windows: Move kernel_windows to use golang registry functions 2018-03-16 09:47:45 -07:00
pidfile
platform
plugingetter Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00
plugins Post migration assertion fixes 2018-03-16 11:03:46 -04:00
pools Automated migration using 2018-03-16 11:03:43 -04:00
progress
pubsub
reexec Automated migration using 2018-03-16 11:03:43 -04:00
signal Automated migration using 2018-03-16 11:03:43 -04:00
stdcopy
streamformatter Cleanup pkg/jsonmessage progress tests 2018-03-16 11:03:47 -04:00
stringid
symlink
sysinfo Automated migration using 2018-03-16 11:03:43 -04:00
system Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
tailfile Fix typos in pkg 2018-02-10 19:43:13 +08:00
tarsum Fix tarsum for go 1.10 2018-04-12 13:34:14 -07:00
term pkg/term add build tag for netbsd 2018-04-18 15:16:06 +02:00
truncindex
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!