moby--moby/pkg
Sebastiaan van Stijn ca27b473cc
pkg/sysinfo: move cg2GroupPath to be a field in SysInfo
We pass the SysInfo struct to all functions. Adding cg2GroupPath as a
(non-exported) field makes passing around this information easier.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-14 16:37:03 +02:00
..
aaparser
archive Merge pull request #42515 from geaaru/permit-override-name 2021-06-24 21:01:08 +02:00
authorization
broadcaster
capabilities
chrootarchive replace uses of deprecated containerd/sys.RunningInUserNS() 2021-06-18 11:01:24 +02:00
containerfs
devicemapper reformat "nolint" comments 2021-06-10 13:03:42 +02:00
directory
discovery
dmesg
filenotify
fileutils pkg/fileutils: PatternMatcher.Matches(): remove debug logging 2021-06-09 11:56:00 +02:00
fsutils
homedir
idtools pkg/system: deprecate some consts and move them to pkg/idtools 2021-06-18 23:16:15 +02:00
ioutils
jsonmessage gosimple: S1039: unnecessary use of fmt.Sprintf 2021-06-10 13:03:27 +02:00
locker
longpath
loopback reformat "nolint" comments 2021-06-10 13:03:42 +02:00
mount
namesgenerator gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
parsers
pidfile
platform
plugingetter
plugins
pools
progress
pubsub
reexec
signal pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
stdcopy
streamformatter
stringid
symlink
sysinfo pkg/sysinfo: move cg2GroupPath to be a field in SysInfo 2021-07-14 16:37:03 +02:00
system pkg/system: deprecate some consts and move them to pkg/idtools 2021-06-18 23:16:15 +02:00
tailfile
tarsum
term
truncindex
urlutil
useragent
README.md

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!