Cory Snider 9cee34bc94 pkg/plugins: make unit test less time sensitive пре 2 година
..
aaparser e3e715666f pkg/aaparser: deprecate GetVersion, as it's no longer used пре 2 година
archive f7552f1de4 pkg/archive: format code with gofumpt пре 2 година
authorization 2aac054f52 pkg/authorization: format code with gofumpt пре 2 година
broadcaster f23c00d870 Various code-cleanup пре 7 година
capabilities 1291bbfa50 pkg/capabilities: format code with gofumpt пре 2 година
chrootarchive a764cd5a40 pkg/chrootarchive: format code with gofumpt пре 2 година
containerfs ab35df454d remove pre-go1.17 build-tags пре 2 година
directory ab35df454d remove pre-go1.17 build-tags пре 2 година
dmesg 2841b05b71 Use Klogctl from x/sys/unix to read Linux kernel log пре 6 година
fileutils ec79d0fc05 pkg/fileutils: GetTotalUsedFds(): use fast-path for Kernel 6.2 and up пре 2 година
homedir 3c1de2e667 pkg/homedir: deprecate Key() utility пре 2 година
idtools 1da079f211 pkg/idtools: use string-literals for easier grep'ing пре 2 година
ioutils fded42c3bd pkg/ioutils: use string-literals for easier grep'ing пре 2 година
jsonmessage ec11aea880 pkg/jsonmessage: use string-literals for easier grep'ing пре 2 година
longpath c63ea32a17 pkg/ioutils: TempDir: move to pkg/longpath пре 2 година
loopback 74da6a6363 Switch all logging to use containerd log pkg пре 2 година
meminfo ab35df454d remove pre-go1.17 build-tags пре 2 година
namesgenerator 952e1e62c5 Sort entries in pkg/namesgenerator пре 2 година
parsers 316c7331eb pkg/parsers: format code with gofumpt пре 2 година
pidfile 7493debe26 pkg/pidfile: implement Read() пре 2 година
platform 74da6a6363 Switch all logging to use containerd log pkg пре 2 година
platforms 1616a09b61 add support for image inspect with containerd-integration пре 2 година
plugingetter 7c77df8acc Move plugin client to separate interface пре 7 година
plugins 9cee34bc94 pkg/plugins: make unit test less time sensitive пре 2 година
pools 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 пре 5 година
process ab35df454d remove pre-go1.17 build-tags пре 2 година
progress c55a4ac779 refactor: move from io/ioutil to io and os package пре 4 година
reexec ab35df454d remove pre-go1.17 build-tags пре 2 година
rootless 74da6a6363 Switch all logging to use containerd log pkg пре 2 година
stack 7873c27cfb all: replace strings.Replace with strings.ReplaceAll пре 3 година
stdcopy f930559076 pkg/stdcopy: format code with gofumpt пре 2 година
streamformatter 9f0b3f5609 bump gotest.tools v3.0.1 for compatibility with Go 1.14 пре 5 година
stringid 54512f2184 pkg/stringid: optimize performance пре 2 година
sysinfo 74da6a6363 Switch all logging to use containerd log pkg пре 2 година
system cffe563d4d pkg/system: remove windows stubs for MkDev/MkNod пре 2 година
tailfile 93fa093122 testing: move fuzzers over from OSS-Fuzz пре 2 година
tarsum 5e9a354ff1 pkg/tarsum: format code with gofumpt пре 2 година
useragent 4f0d95fa6e Add canonical import comment пре 7 година
README.md d040d637a9 Rename a few docker to moby пре 7 година

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!