moby--moby/pkg
Josh Hawn 213e3d1166 Add Tarsum Calculation during v2 Pull operation
While the v2 pull operation is writing the body of the layer blob to disk
it now computes the tarsum checksum of the archive before extracting it to
the backend storage driver. If the checksum does not match that from the
image manifest an error is raised.

Also adds more debug logging to the pull operation and fixes existing test
cases which were failing. Adds a reverse lookup constructor to the tarsum
package so that you can get a tarsum object using a checksum label.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-01-15 14:05:05 -08:00
..
archive Have .dockerignore support Dockerfile/.dockerignore 2015-01-06 10:57:48 -08:00
broadcastwriter
chrootarchive Have .dockerignore support Dockerfile/.dockerignore 2015-01-06 10:57:48 -08:00
devicemapper
fileutils
graphdb pkg/graphdb: use transactions for transactions 2014-12-19 13:57:21 +02:00
httputils
ioutils
iptables Create tests for pkg/iptables 2014-12-21 12:57:32 +10:00
jsonlog
listenbuffer
mflag correct the flag comments 2015-01-13 15:40:24 +08:00
mount
namesgenerator Merge pull request #10029 from soulshake/add-cecilia-payne-gaposchkin 2015-01-12 17:31:19 -08:00
networkfs Update container resolv.conf when host network changes /etc/resolv.conf 2015-01-08 14:15:13 -05:00
parsers add ability to publish range of ports 2015-01-02 23:21:26 +00:00
pools
promise
proxy
reexec
signal
stdcopy
symlink update copyrights to 2015 2015-01-12 22:47:36 +00:00
sysinfo
system
systemd
tailfile
tarsum Add Tarsum Calculation during v2 Pull operation 2015-01-15 14:05:05 -08:00
term
testutils
timeutils
truncindex
units pkg/units: fix size_test.go compilation 2014-12-19 18:38:12 +02:00
urlutil
version
README.md

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!