1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Ziheng Liu d7bc994a08 awslogs & archive: prevent 2 goroutine leaks in test functions
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-29 17:03:38 -04:00
..
aaparser
archive awslogs & archive: prevent 2 goroutine leaks in test functions 2019-10-29 17:03:38 -04:00
authorization pkg/authorization: use constants for http methods 2019-10-13 19:11:28 +02:00
broadcaster
capabilities
chrootarchive Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
containerfs pkg/containerfs: rename output variable to prevent shadowing (govet) 2019-09-18 12:57:41 +02:00
devicemapper pkg/devicemapper ignore SA4000 false positive (staticcheck) 2019-09-18 12:57:52 +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 TestPollerEvent: fix filemode (staticcheck) 2019-09-18 12:57:56 +02:00
fileutils gosec: add ignore comments for reported issues that can be ignored 2019-09-18 12:57:43 +02:00
fsutils
homedir pkg/homedir: clarify Get() docs wrt static linking 2019-10-24 16:39:24 -07:00
idtools unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
ioutils pkg/ioutils use sha256 instead of sha1 in tests 2019-09-18 12:57:35 +02:00
jsonmessage pkg/jsonmessage: fix SA1006: printf-style function with no arguments 2019-10-18 00:45:37 +02:00
locker
longpath
loopback Use correct LOOP_CTL_GET_FREE API in pkg/loopback 2019-08-27 06:22:10 -07:00
mount pkg/mount: SA4011: ineffective break statement (staticcheck) 2019-10-18 00:46:02 +02:00
namesgenerator fixed typo, changed "perfectd to perfected" 2019-10-19 12:43:59 -07: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 pkg/plugins: use constants for http methods 2019-10-13 19:11:30 +02:00
pools Fix pkg/pools staticcheck SA6002 2019-09-30 12:19:03 +08:00
progress
pubsub
reexec
signal pkg/signal: remove unnescessary conversion (unconvert) 2019-09-18 12:57:32 +02:00
stdcopy
streamformatter
stringid
symlink
sysinfo
system Deprecate pkg/system.GetOSVersion() in favor of hcsshim/osversion.Get() 2019-10-22 02:53:09 +02:00
tailfile Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
tarsum gosec: add ignore comments for reported issues that can be ignored 2019-09-18 12:57:43 +02:00
term pkg/term/windows: add missing build-tag 2019-09-18 12:57:36 +02:00
truncindex
urlutil
useragent
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!