moby/pkg
Derek McGowan 5cdf7f5077 pkg/tarsum: fix panic with dynamic buffer
When read is called on a tarsum with a two different read sizes, specifically the second call larger than the first, the dynamic buffer does not get reallocated causing a slice read error.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2014-09-25 15:58:35 -07:00
..
broadcastwriter use custom marshalling for JSONLog 2014-09-17 17:03:54 +03:00
graphdb pkg/graphdb: tests for Parents and Children 2014-08-27 18:23:41 -07:00
httputils Use increment operator 2014-08-30 21:43:48 +04:00
ioutils pkg/ioutils: add ReaderErrWrapper to readers 2014-09-03 11:36:21 +03:00
iptables Fix duplicate iptables rules 2014-09-07 15:12:19 -07:00
jsonlog Test for jsonlog.WriteLog 2014-09-23 19:19:25 +04:00
listenbuffer adding configuration for timeout and disable it by default 2014-03-17 15:12:02 -07:00
log move utils.Fataler to pkg/log.Fataler 2014-08-13 15:32:41 -07:00
mflag fs.Visit() returns nil flag 2014-08-29 15:38:03 +10:00
mount FIX 6613:launch docker fail with space named drive 2014-09-19 12:07:53 -04:00
namesgenerator Removed :neckbeard: RMS test case 2014-07-16 23:22:21 +01:00
networkfs Refactor all pre-compiled regexp to package level vars 2014-09-16 12:57:44 -04:00
parsers Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary 2014-08-06 17:20:21 -06:00
pools pkg/pool: add pools for bufio readers & writers 2014-09-03 11:36:39 +03:00
proxy Fix deadlock on failed dial in UDP userland proxy 2014-08-13 17:18:37 +04:00
signal Exit after receiving SIGTERM 2014-08-13 12:18:23 -07:00
stdcopy Benchmark for StdWriter.Write 2014-09-17 19:24:07 +04:00
symlink add integration test for --workdir=/ 2014-06-25 11:02:59 -04:00
sysinfo update MAINTAINERS files 2014-06-16 22:20:07 +00:00
system Purge the bits of pkg/system that moved to libcontainer/system 2014-08-02 01:35:04 -06:00
systemd Add systemd.SdBooted() 2014-03-27 22:44:31 +01:00
tailfile Implement tail for docker logs 2014-07-01 23:44:12 +04:00
tarsum pkg/tarsum: fix panic with dynamic buffer 2014-09-25 15:58:35 -07:00
term update go import path and libcontainer 2014-07-24 22:19:50 +00:00
testutils Graphtest is ok to compile normally 2014-08-07 14:33:09 -07:00
timeutils add the timeutils package 2014-09-17 14:30:08 +03:00
truncindex update go import path and libcontainer 2014-07-24 22:19:50 +00:00
units Refactor all pre-compiled regexp to package level vars 2014-09-16 12:57:44 -04:00
version Fix equal short-long version number comparison 2014-08-11 23:40:35 +02:00
README.md Add README to pkg 2013-12-23 23:12:19 +00:00

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!