Files
docker-cli/components/engine/pkg
Sargun Dhillon e9c2f9fe77 Make image (layer) downloads faster by using pigz
The Golang built-in gzip library is serialized, and fairly slow
at decompressing. It also only decompresses on demand, versus
pipelining decompression.

This change switches to using the pigz external command
for gzip decompression, as opposed to using the built-in
golang one. This code is not vendored, but will be used
if it autodetected as part of the OS.

This also switches to using context, versus a manually
managed channel to manage cancellations, and synchronization.
There is a little bit of weirdness around manually having
to cancel in the error cases.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Upstream-commit: fd35494a251a497c359f706f61f33e689e2af678
Component: engine
2018-01-16 10:49:18 -08:00
..
2017-12-18 17:41:53 +01:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-10-02 11:20:21 -07:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-09-08 18:23:21 -04:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-07-03 13:13:09 -07:00
2017-08-21 18:15:08 -04:00
2017-05-08 17:02:02 -07:00
2017-12-18 17:41:53 +01:00
2018-01-15 00:42:25 +01:00
2016-11-13 20:08:51 -08:00
2017-12-18 17:41:53 +01:00
2017-06-26 10:07:04 -07:00
2017-10-25 13:56:12 +02:00

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!