docker-py/docker
Sam Thursfield 2f3b87a470 Rewrite Client.import_image() and add less-magical versions
Rather than have one function that can do 5 things and attempts to guess
what the user wanted, it's good to have a function for each possible
method of importing an image. Error cases are handled a lot better this
way.

The unit test test_import_image_from_file() was changed to be
test_import_image_from_bytes(), because if we try to import a temporary
file in the test, the 'data' parameter of the 'fake_request' object is
an instance of a funny internal type like <_io.BufferedReader
name='/tmp/tmpc9chux'> and it's very hard to match such a thing with
`mock.assert_called_with()`.
2015-01-05 12:32:56 +00:00
..
auth updated parameter name to make more sense. 2014-12-18 10:21:02 -08:00
ssladapter Fix typo 2014-10-30 14:07:37 +01:00
unixconn Rework Unix connection code so that 'chunked' transfers work 2015-01-05 12:05:39 +00:00
utils Use create_host_config in start (unifying parameter processing) 2014-12-18 18:03:27 -08:00
__init__.py Avoid version duplication 2014-05-24 01:51:50 +02:00
client.py Rewrite Client.import_image() and add less-magical versions 2015-01-05 12:32:56 +00:00
errors.py * Merge branch 'tls' of github.com:momer/docker-py into momer-tls 2014-06-23 20:15:47 +02:00
tls.py Require highest level of client-supported SSL/TLS crypto 2014-10-29 15:19:41 -04:00
version.py Bumped version 2014-12-18 11:20:31 -08:00