Files
docker-cli/cli
Goksu Toprak 90f256aeab Introduce .zip import for docker context
Adds capabilities to import a .zip file with importZip.
Detects the content type of source by checking bytes & DetectContentType.
Adds LimitedReader reader, a fork of io.LimitedReader,
was needed for better error messaging instead of just getting back EOF.
We are using limited reader to avoid very big files causing memory issues.
Adds a new file size limit for context imports,
this limit is used for the main file for .zip & .tar and individual compressed
files for .zip.
Added TestImportZip that will check the import content type
Then will assert no err on Importing .zip file

Signed-off-by: Goksu Toprak <goksu.toprak@docker.com>
(cherry picked from commit 291e86289b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-29 23:09:20 +03:00
..
2017-09-01 19:41:06 -04:00
2019-01-04 17:06:51 +01:00
2019-01-11 15:49:02 +08:00
2018-06-08 18:24:26 +02:00
2017-04-17 17:40:59 -04:00
2018-06-08 18:24:26 +02:00