pkg/ioutils
Aaron Lehmann 41193db82e 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
..
bytespipe.go Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
bytespipe_test.go Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
fmt.go Format output of docker info 2015-09-23 14:35:13 +08:00
fmt_test.go no not print empty keys in docker info 2015-06-01 15:05:20 -07:00
multireader.go Enable golint part of #14756 2015-08-03 09:45:05 +08:00
multireader_test.go Split reader interface from logger interface 2015-07-21 20:47:31 -04:00
readers.go Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
readers_test.go Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
scheduler.go Go Scheduler issue with sync.Mutex using gccgo 2015-07-17 01:33:58 +00:00
scheduler_gccgo.go Go Scheduler issue with sync.Mutex using gccgo 2015-07-17 01:33:58 +00:00
temp_unix.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
temp_windows.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
writeflusher.go Avoid panic on write after close in http 2015-11-02 18:14:43 -08:00
writers.go Enable golint part of #14756 2015-08-03 09:45:05 +08:00
writers_test.go Add more ioutils tests. 2015-05-04 19:56:10 +02:00