Граф коммитов

179 Коммитов

Автор SHA1 Сообщение Дата
Stephen J Day 825992b8b2 client: remove need for "test" tag to run tests
Because client tests imported a test file from another package, `go
test` would not work without adding `-tags=test`. This is not the
correct invocation for regularly testing Go code and breaks simple runs
of `go test` working for the package. This moves the transport mock into
the package that actually uses it. Now, `go test` works properly in the
client package.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-03-07 20:59:26 -08:00
Doug Davis 8193a3a11c Merge pull request #132 from vdemeester/network-disconnect-test
Add unit test for NetworkDisconnect
2016-03-07 17:45:52 -05:00
Vincent Demeester 135ce34b90 Add unit test to NetworkInspect
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-07 18:44:17 +01:00
Vincent Demeester 9d53dc5b7a Add unit test for NetworkDisconnect
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-06 12:35:26 +01:00
John Starks 7e7c155f15 Windows: Default to npipe transport
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-03-03 12:13:14 -08:00
David Calavera 3bcd09b865 Merge pull request #126 from vdemeester/network-create-test
Add unit tests for NetworkCreate
2016-03-03 08:59:36 -08:00
David Calavera e67d363a42 Merge pull request #121 from vdemeester/volume-create-test
Add unit test to VolumeCreate
2016-03-03 08:59:23 -08:00
Vincent Demeester f8e85d7785 Add unit tests for NetworkCreate
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-02 16:52:31 +01:00
Vincent Demeester c422c1e43c Add unit test to VolumeCreate
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-02 13:53:01 +01:00
Vincent Demeester 8b3125a37c Add unit tests for VolumeRemove
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-02 11:23:20 +01:00
Doug Davis 57bb8db837 Merge pull request #112 from vdemeester/volume-list-test
Add unit test for VolumeList
2016-02-29 17:32:17 -05:00
Vincent Demeester b07ad0b660 Add unit test for VolumeList
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-29 21:42:48 +01:00
Vincent Demeester bb4a531076 Add unit tests for ImageSave
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-25 09:19:36 +01:00
David Calavera 24bdeec731 Merge pull request #99 from vdemeester/image-list-test
Add unit test for ImageList
2016-02-24 10:32:07 -08:00
Vincent Demeester 6d1ff9951b Add unit test for ImageList
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-24 15:37:55 +01:00
David Calavera ba0330eb3b Merge pull request #104 from vdemeester/split-volume
Split volume.go into multiple files
2016-02-23 16:27:51 -08:00
David Calavera e8670c8d34 Merge pull request #103 from vdemeester/split-network
Split network.go into multiple files
2016-02-23 16:27:36 -08:00
Doug Davis adfa32fb6c Merge pull request #96 from vdemeester/image-inspect-test
Add unit test for ImageInspect
2016-02-22 14:48:32 -05:00
Doug Davis a6d03f5858 Merge pull request #101 from vdemeester/image-remove-test
Add unit tests for ImageRemove
2016-02-22 14:40:23 -05:00
Doug Davis d929277be4 Merge pull request #100 from vdemeester/image-load-test
Add unit test to ImageLoad
2016-02-22 14:36:09 -05:00
Doug Davis 6805dbe7ed Merge pull request #102 from vdemeester/image-tag-test
Add unit tests for ImageTag
2016-02-22 14:27:43 -05:00
Ken Cochrane 9a9e468f50 Remove email from AuthConfig
This change is part of a larger PR on docker engine that will remove email from login, and remove the ability to register from the docker cli.

Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2016-02-21 18:43:28 -05:00
Vincent Demeester b206ee7c64 Split volume.go into multiple files
To follow what we do with containers and images.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-21 13:50:38 +01:00
Vincent Demeester d7722580ab Split network.go into multiple files
To follow what we do with containers and images.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-21 13:47:43 +01:00
Vincent Demeester e45fda2804 Add unit tests for ImageTag
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-21 12:14:37 +01:00
Vincent Demeester 110f661869 Add unit tests for ImageRemove
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-21 12:07:42 +01:00
Vincent Demeester 3cac6fa51c Add unit test to ImageLoad
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-21 11:34:11 +01:00
Vincent Demeester 9dd5ec2a2e Add unit test for ImageInspect
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-20 10:35:18 +01:00
Phil Estes eb1a6204df Correctly set content type for image load
The default content type is `text/plain`, which, if authz plugins are in
use will cause the entire body to be read (and fail because of another
bug that will be fixed in docker/docker separately). Given the content
type should really be binary format anyway, this is a good change for
any other code in the future that might determine action based on POST
content-type headers.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2016-02-19 06:27:33 -08:00
Alexander Morozov 2dc6a81eda Merge pull request #90 from vdemeester/image_build_test
Add ImageBuild unit tests
2016-02-17 12:52:48 -08:00
Alexander Morozov f9d7940e23 Merge pull request #91 from vdemeester/image-create-test
Add unit tests for ImageCreate
2016-02-17 12:50:53 -08:00
Alexander Morozov 47262535f1 Merge pull request #92 from vdemeester/image-history-test
Add unit tests for ImageHistory
2016-02-17 12:50:17 -08:00
Alexander Morozov 97a66b8401 Merge pull request #93 from vdemeester/image-import-test
Add unit tests for ImageImport
2016-02-17 12:49:15 -08:00
Arnaud Porterie afb1638f70 Merge pull request #94 from LK4D4/proxy_hijack
Add ability to hijack through proxy
2016-02-16 09:50:01 -08:00
Alexander Morozov 50595b5439 Add ability to hijack through proxy
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-02-16 09:35:10 -08:00
Vincent Demeester f924644fd2 Add more unit tests to ContainerX
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-16 16:12:28 +01:00
Vincent Demeester e43d526951 Add unit tests for ImageImport
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-16 15:48:08 +01:00
Vincent Demeester 569de060a3 Add unit tests for ImageHistory
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-16 15:46:12 +01:00
Vincent Demeester 8eca2a703e Add unit tests for ImageCreate
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-16 15:45:26 +01:00
Vincent Demeester 3300e1ef44 Add ImageBuild unit tests
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-16 15:43:32 +01:00
Vincent Demeester 2daa155b98 Add more unit tests to ContainerX methods
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-09 16:01:58 +01:00
David Calavera 36dca6dfcd Merge pull request #81 from vdemeester/container_inspect_tests
Add unit tests for containerInspect
2016-02-08 15:14:19 -08:00
Vincent Demeester ea1999737a Add unit tests for containerInspect
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-08 21:41:16 +01:00
David Calavera 199ec1f3f9 Merge pull request #80 from vdemeester/name-pattern
Homogenize file naming
2016-02-08 10:05:14 -08:00
David Calavera bed0036f91 Merge pull request #73 from jhowardmsft/jjh/fixisolation
Windows: Isolation word fix
2016-02-08 10:02:56 -08:00
Vincent Demeester 6052572f38 Update file names according to their types…
… to follow the actual naming pattern.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-02-07 09:16:49 +01:00
David Calavera 9a940e4ead Merge pull request #65 from coolljt0725/add_quite
Add a quiet flag to image load for adding progress bar to load
2016-02-04 08:19:49 -08:00
Antonio Murdaca 96789fcb9a Merge pull request #76 from calavera/fix_canceler_14_conversion
Fix implicit conversion of transport sender in canceler_14.
2016-02-04 11:36:10 +01:00
Vincent Demeester aca2ca42ea Merge pull request #75 from amitkris/master
Set DefaultDockerHost on Solaris
2016-02-04 08:43:22 +01:00
Lei Jitang 8734fd79cb Add a quite flat to image load for adding progress bar to load
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-02-03 21:04:55 -05:00