1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Lars Kellogg-Stedman 3559b4177e fix various problems with iptables.Exists
This modifies iptables.Exists so that it must be called with an explicit
table and chain.  This allows us (a) to generate an appropriate command
line for "iptables -C", which was not previously possible, and (b) it
allows us to limit our strings.Contains() search to just the table and
chain in question, preventing erroneous matches against unrelated rules.

Resolves #10781

Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
2015-03-16 17:14:45 -04:00
..
archive Make utils_daemon and volumes cross-platform compileable. 2015-03-16 11:46:07 +01:00
broadcastwriter Mass gofmt 2014-10-24 15:11:48 -07:00
chrootarchive Merge pull request #10439 from estesp/10426-fix-arg-list-too-long 2015-02-20 23:48:55 -08:00
common moving random.go from utils 2015-02-26 18:31:18 +00:00
devicemapper Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
directory Makes directory pkg compilable on Windows. 2015-03-12 15:54:22 +01:00
fileutils Use logrus everywhere for logging 2014-10-24 15:03:06 -07:00
graphdb Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
homedir If $HOME is not set, return homedir from /etc/passwd 2015-03-10 10:00:22 -04:00
httputils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
ioutils
iptables fix various problems with iptables.Exists 2015-03-16 17:14:45 -04:00
jsonlog Rename BINDDIR to BIND_DIR 2015-02-13 15:50:42 -07:00
listenbuffer
mflag Make use of %USERPROFILE% in cli help message 2015-03-11 02:14:49 -07:00
mount Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
namesgenerator Merge pull request #10029 from soulshake/add-cecilia-payne-gaposchkin 2015-01-12 17:31:19 -08:00
networkfs Add warning for --dns flag set to localhost addresses. 2015-03-10 14:43:17 -04:00
parsers Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
pools
progressreader Remove import to utils in progressreader 2015-03-11 00:50:27 -07:00
promise Move Go() promise-like func from utils to pkg/promise 2014-09-29 23:16:27 -07:00
proxy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
pubsub Remove publisher if no one is listening 2015-01-20 20:21:47 -08:00
reexec Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
signal Removed race condition 2014-12-06 22:52:19 +08:00
stdcopy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
symlink Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
sysinfo fix warning messages 2015-03-11 08:47:45 +08:00
system Make utils_daemon and volumes cross-platform compileable. 2015-03-16 11:46:07 +01:00
systemd Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
tailfile
tarsum Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
term Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
testutils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
timeoutconn Rename package timeout to timeoutconn. 2015-02-25 20:52:37 +01:00
timeutils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
truncindex Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
ulimit Allow setting ulimits for containers 2015-02-25 19:37:43 -05:00
units Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
urlutil Move git and url checks into pkg 2014-11-24 18:10:37 -05:00
version pkg/version: lint and add comments 2014-10-06 18:41:53 +03:00
README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker 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 Docker 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!