moby--moby/pkg
Tobias Klauser 01f70b028e Switch Stat syscalls to x/sys/unix
Switch some more usage of the Stat function and the Stat_t type from the
syscall package to golang.org/x/sys. Those were missing in PR #33399.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-07-27 10:09:02 +02:00
..
aaparser apparmor: make pkg/aaparser work on read-only root 2017-05-18 00:05:13 +10:00
archive archive: add test for prefix header 2017-07-14 10:20:48 -07:00
authorization Spelling fixes 2017-07-03 13:13:09 -07:00
broadcaster
chrootarchive [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
devicemapper devmapper_wrapper.go: fix gcc warning 2017-07-17 17:46:44 -07:00
directory Fix filepath.Walk misusage in pkg/directory 2016-05-30 07:40:46 +00:00
discovery Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
filenotify Spelling fixes 2017-07-03 13:13:09 -07:00
fileutils Enable a unit test on windows. 2017-04-21 12:31:16 -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 move multireader out of /pkg 2017-06-01 16:22:00 -07:00
jsonlog gofmt: 5 files 2017-07-03 10:32:47 -07:00
jsonmessage Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
listeners Don't error with empty group 2017-04-27 09:26:21 -07:00
locker fix some typos 2016-12-28 09:43:27 +08:00
longpath
loopback Switch Stat syscalls to x/sys/unix 2017-07-27 10:09:02 +02:00
mount In the case of remounting with changed data, need to call mount 2017-07-13 15:48:58 +01:00
namesgenerator pkg: remove random package 2017-05-08 17:02:02 -07:00
parsers [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
pidfile [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
platform [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
plugingetter plugingetter: Avoid all caps for constant declarations 2017-01-04 10:19:04 -08:00
plugins Spelling fixes 2017-07-03 13:13:09 -07:00
pools pkg/pools: add buffer32KPool & use it for copy 2017-06-10 21:12:48 +03:00
progress Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
promise Added Test Case Coverage for PKG/PROMISE 2017-06-13 15:17:40 +05: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 [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
stdcopy Spelling fixes 2017-07-03 13:13:09 -07:00
streamformatter Increase the Coverage of pkg/streamformatter 2017-06-22 12:29:10 +05: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 sysinfo: use Prctl() from x/sys/unix 2017-07-17 10:37:42 +02:00
system system: Use symlink xattr functions from x/sys/unix 2017-07-12 14:52:42 +02:00
tailfile Change reading order of tailfile 2016-11-13 20:08:51 -08:00
tarsum Add support for COPY from previous rootfs 2017-03-23 15:12:15 -07:00
templates Spelling fixes 2017-07-03 13:13:09 -07:00
term Merge pull request #33987 from dnephin/cleanup-more-hack 2017-07-27 00:29:13 +02:00
testutil Spelling fixes 2017-07-03 13:13:09 -07:00
tlsconfig Remove Go 1.6 code from moby 2017-06-19 15:59:00 +03:00
truncindex Fix non thread-safe Iteration around go-patricia 2017-01-09 17:06:50 +00:00
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!