1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Tibor Vass 491ef7b901 rm-gocheck: HasLen -> assert.Equal + len()
sed -E -i 's#\bassert\.Assert\(c, (.*), checker\.HasLen, (.*)#assert.Equal(c, len(\1), \2#g' \
-- "integration-cli/docker_api_containers_test.go" "integration-cli/docker_cli_by_digest_test.go" "integration-cli/docker_cli_create_test.go" "integration-cli/docker_cli_daemon_test.go" "integration-cli/docker_cli_external_volume_driver_unix_test.go" "integration-cli/docker_cli_import_test.go" "integration-cli/docker_cli_inspect_test.go" "integration-cli/docker_cli_network_unix_test.go" "integration-cli/docker_cli_ps_test.go" "integration-cli/docker_cli_pull_local_test.go" "integration-cli/docker_cli_service_create_test.go" "integration-cli/docker_cli_swarm_test.go" "integration-cli/docker_cli_userns_test.go" "pkg/discovery/discovery_test.go" "pkg/discovery/file/file_test.go" "pkg/discovery/kv/kv_test.go"

Signed-off-by: Tibor Vass <tibor@docker.com>
2019-09-09 21:05:57 +00:00
..
aaparser
archive Merge pull request #39699 from thaJeztah/mkdirall_dropin 2019-08-27 16:27:53 -07:00
authorization
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
discovery rm-gocheck: HasLen -> assert.Equal + len() 2019-09-09 21:05:57 +00:00
dmesg Use Klogctl from x/sys/unix to read Linux kernel log 2019-08-22 08:25:13 +02:00
filenotify
fileutils
fsutils
homedir
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
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 Remove *_solaris.go files 2019-09-02 10:15:15 +02:00
pidfile Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
platform
plugingetter
plugins Merge pull request #39422 from lemrouch/35876-workaround 2019-07-22 10:21:50 -07:00
pools
progress
pubsub
reexec
signal
stdcopy
streamformatter
stringid Entropy cannot be saved 2019-06-07 11:54:45 +01:00
symlink
sysinfo Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
system Remove *_solaris.go files 2019-09-02 10:15:15 +02:00
tailfile
tarsum
term pkg/term: refactor TestEscapeProxyRead 2019-08-27 15:07:02 +02:00
truncindex Entropy cannot be saved 2019-06-07 11:54:45 +01:00
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!