docker/builder
Aaron Lehmann 572ce80230 Improved push and pull with upload manager and download manager
This commit adds a transfer manager which deduplicates and schedules
transfers, and also an upload manager and download manager that build on
top of the transfer manager to provide high-level interfaces for uploads
and downloads. The push and pull code is modified to use these building
blocks.

Some benefits of the changes:

- Simplification of push/pull code
- Pushes can upload layers concurrently
- Failed downloads and uploads are retried after backoff delays
- Cancellation is supported, but individual transfers will only be
  cancelled if all pushes or pulls using them are cancelled.
- The distribution code is decoupled from Docker Engine packages and API
  conventions (i.e. streamformatter), which will make it easier to split
  out.

This commit also includes unit tests for the new distribution/xfer
package. The tests cover 87.8% of the statements in the package.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-09 19:13:35 -08:00
..
dockerfile Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
builder.go move configs structs to remove dependency on daemon 2015-12-07 09:03:25 -08:00
dockerignore.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
git.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
remote.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
remote_test.go remove unnecessary temporary variable 2015-11-26 10:25:55 +08:00
tarsum.go Fix symlink handling in builder ADD/COPY commands 2015-11-06 10:58:12 -08:00