Brian Goff 677d41aa3b Plumb context through info endpoint 1 سال پیش
..
aaparser e3e715666f pkg/aaparser: deprecate GetVersion, as it's no longer used 2 سال پیش
archive 3cf409aa9e pkg/archive: migrate to (tar.Header).PAXRecords 1 سال پیش
authorization cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
broadcaster f23c00d870 Various code-cleanup 7 سال پیش
capabilities 1291bbfa50 pkg/capabilities: format code with gofumpt 2 سال پیش
chrootarchive 9e3ed7b429 pkg/chrootarchive: fix Darwin build 1 سال پیش
containerfs 6c6e1fb13d pkg/containerfs: format code with gofumpt 1 سال پیش
directory ab35df454d remove pre-go1.17 build-tags 2 سال پیش
dmesg 2841b05b71 Use Klogctl from x/sys/unix to read Linux kernel log 6 سال پیش
fileutils 677d41aa3b Plumb context through info endpoint 1 سال پیش
homedir 3c1de2e667 pkg/homedir: deprecate Key() utility 2 سال پیش
idtools df3a321164 migrate to github.com/moby/sys/user 1 سال پیش
ioutils 3cfc1ffb0a pkg/ioutils: some cleanups in tests 2 سال پیش
jsonmessage ec11aea880 pkg/jsonmessage: use string-literals for easier grep'ing 2 سال پیش
longpath c63ea32a17 pkg/ioutils: TempDir: move to pkg/longpath 2 سال پیش
loopback cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
meminfo ab35df454d remove pre-go1.17 build-tags 2 سال پیش
namesgenerator 952e1e62c5 Sort entries in pkg/namesgenerator 2 سال پیش
parsers cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
pidfile 7493debe26 pkg/pidfile: implement Read() 2 سال پیش
platform cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
platforms 1616a09b61 add support for image inspect with containerd-integration 2 سال پیش
plugingetter 7c77df8acc Move plugin client to separate interface 7 سال پیش
plugins cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
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 056be8b7b0 Merge pull request #46473 from thaJeztah/c8d_logs 1 سال پیش
stack 211d3a8c32 pkg/stack: format code with gofumpt 1 سال پیش
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 cff4f20c44 migrate to github.com/containerd/log v0.1.0 1 سال پیش
system a3c97beee0 image: implement CheckOS, deprecate pkg/system IsOSSupported 1 سال پیش
tailfile 79495c5b6a pkg/tailfile: rename max/min as it collides with go1.21 builtin 1 سال پیش
tarsum 63a9d72ee8 pkg/tarsum: handle xattrs like archive/tar does 1 سال پیش
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!