99a16e1ac6
Merge pull request #18616 from calavera/move_client_version_to_docker_cli
...
Move client version to the docker cli.
Upstream-commit: 5fd9a8f6030558d90f4e1a3e55f6b0017d34d23f
Component: engine
2015-12-14 11:43:01 +01:00
3c4fcf6b7a
Fix typos found across repository
...
Signed-off-by: Justas Brazauskas <brazauskasjustas@gmail.com >
Upstream-commit: 927b334ebfc786276a039e45ec097e71bf9a104c
Component: engine
2015-12-13 18:04:12 +02:00
1d681e5873
Merge pull request #15365 from twistlock/14674-docker-authz
...
Docker authorization plug-in infrastructure
Upstream-commit: 1fffc0270ffb56d99a8440a10a0effdb3acd934d
Component: engine
2015-12-12 12:30:33 +01:00
c5bbeb25cd
Move client version to the docker cli.
...
This removes the dockerversion dependency from the client library.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 229d3bace8fbf1c077c063047710a6857ee2aaa6
Component: engine
2015-12-11 19:03:33 -05:00
0d0535be72
Merge pull request #18610 from runcom/fix-warn
...
api: client: info: add newline after warning
Upstream-commit: 91799c232e5f4e2f5dbfd78e0520a97eb2d826c0
Component: engine
2015-12-11 13:41:14 -08:00
85dc531227
api: client: info: add newline after warning
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: bb3d7e1e6543a49fd344e765169265a08a19331a
Component: engine
2015-12-11 20:54:51 +01:00
34ad96c328
Make sure template inspector always prints a carriage return.
...
To match with the raw inspector.
Adds tests to verify its functionality.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: bc02d42d9ec6d6741946e2edbd13ff8a78bbdb80
Component: engine
2015-12-10 21:13:13 -05:00
0da90605c7
Merge pull request #18564 from runcom/warn-on-loopback
...
api: client: info: print a warning if dm is using a loopback file
Upstream-commit: a16a1d75d928000c8e8e9995d8843a685aa5df65
Component: engine
2015-12-11 10:11:03 +10:00
9847131043
Merge pull request #18353 from aaronlehmann/transfer-manager
...
Improved push and pull with upload manager and download manager
Upstream-commit: ac453a310bac6bdd7cd9d780a63d4168064570d1
Component: engine
2015-12-10 14:52:48 -08:00
3ca5c467e0
Merge pull request #18557 from cpuguy83/use_correct_resize_fn
...
Use correct fn for resizing TTY
Upstream-commit: a0f80079b8e699b992f34cc76a97ba578421fdbb
Component: engine
2015-12-10 12:37:13 -08:00
e467805405
api: client: info: print a warning if dm is using a loopback file
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: a2c4c0cd3a2e5b58b36718290cb7c31f99f6495e
Component: engine
2015-12-10 14:05:28 +01:00
b7df006fa3
Merge pull request #18562 from haoshuwei/modify-wordspelling-in-docker-stats
...
Modify word spelling in stats.go's comments
Upstream-commit: 3d82564c7a6ae139879b869a987bf9274ed0275d
Component: engine
2015-12-10 13:32:10 +01:00
175c786e42
Merge pull request #18553 from calavera/remove_specific_go_1_5_calls
...
Remove call to template.Option when building with 1.4.
Upstream-commit: d46650b3c7700cd6828f57409e981d8312c3fd32
Component: engine
2015-12-10 09:28:00 +01:00
9b469321b5
Modify word spelling errors in stats.go
...
Signed-off-by: Shuwei Hao <haosw@cn.ibm.com >
Upstream-commit: 413e058b72eab50001496b1a4d0af7393be26df0
Component: engine
2015-12-10 06:57:25 +00:00
7e3377f7d7
Use correct fn for resizing TTY
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
Upstream-commit: 3260ddb10bff8d1b5cabe547ecb77e19d379a3c6
Component: engine
2015-12-09 22:55:01 -05:00
547342d777
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 >
Upstream-commit: 572ce802306a4e919802e5b77cbeca94acda7c0a
Component: engine
2015-12-09 19:13:35 -08:00
e15adec58b
Remove call to template.Option when building with 1.4.
...
Windows still relies on 1.4.2 to build Docker.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 6df3fc51759a6219e965a30c413cb43ddbc897c9
Component: engine
2015-12-09 17:30:16 -05:00
1c526ceb5c
Move networking api types to the api/types/networking package.
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com >
Upstream-commit: efda9618db07152ce6a94e0ac391ba58d1463fcd
Component: engine
2015-12-09 13:55:59 -08:00
b8e840db43
Make the commit configuration to be a typed struct rather than accepting a string.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 2ec468e2844365f0d7e2afd744f322cde25c077e
Component: engine
2015-12-09 12:06:58 -05:00
cb6bc1b323
Implement all inspect commands with the new inspector interface.
...
It makes the behavior completely consistent across commands.
It adds tests to check that execution stops when an element is not
found.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 57b6796304880331d0d4e9cbefab7b139e718915
Component: engine
2015-12-09 12:05:01 -05:00
1c8ead7dbd
Remove old http from the docker cli.
...
Everything has been ported to the client library 🎉
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 5a0a6ee9cd55f3e2f57d992a032421d0e126040d
Component: engine
2015-12-09 12:05:00 -05:00
36248d540f
Implement docker search with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: e4abf485677cd1d93d584753e19545e6ec8c2335
Component: engine
2015-12-09 12:05:00 -05:00
20cb7dcbfb
Implement docker resize with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: d1057e4c4672b584590295f3d9b96a90183bbfcd
Component: engine
2015-12-09 12:05:00 -05:00
949951b565
Implement docker inspect with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: cf3efd05d42e92d8f92338be3730894dca85aa26
Component: engine
2015-12-09 12:05:00 -05:00
9fd4aecedc
Implement docker push with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 42670e30eef7023d2df9c6c8900041bc9e1546e0
Component: engine
2015-12-09 12:05:00 -05:00
af8924d4fb
Implement docker pull with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: e78f02c4dbc3cada909c114fef6b6643969ab912
Component: engine
2015-12-09 12:05:00 -05:00
2d27c6f3ba
Implement docker stats with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: e59d54bd99a1a06bf178f8dbda29980136f94a58
Component: engine
2015-12-09 12:05:00 -05:00
bacc70658e
Implement docker exec with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 3f9f23114f7cccd9e9972d457f0f1d2502eaa4af
Component: engine
2015-12-09 12:04:59 -05:00
00c6b1ffcd
Implement docker run with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: bcb848c87f496fe2b946530521a0d262a489c019
Component: engine
2015-12-09 12:04:59 -05:00
ab1194c8fb
Implement docker start with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 962b2d8b9b0201db2132ec17f06513e33ad419d0
Component: engine
2015-12-09 12:04:59 -05:00
3e833a5905
Implement docker attach with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 5e80ac9c8438252ebb16f6c4aef450e2861a2e5d
Component: engine
2015-12-09 12:04:59 -05:00
301c9e7693
Lowercase http method functions.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: d9a62c5f2b11131d4b8c3d62af60cd7e6ceaa350
Component: engine
2015-12-09 12:04:59 -05:00
f462aadeb9
Change references to query values.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 0b0431a856fd9087b15665790cb8cda9e4286eff
Component: engine
2015-12-09 12:04:59 -05:00
964dd12e59
Create interface that clients that talk to the api must fulfill.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 8b15839ee85b291266d07f97d9ad6ca0326d1339
Component: engine
2015-12-09 12:04:58 -05:00
68562127c9
Fix client lib errors documentation.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: a413be33929a637d565687aa07805bfefca547e5
Component: engine
2015-12-09 12:04:58 -05:00
6cea97ec23
Implement docker volume with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 73bca058ae5d1e4ad2b94835fb1593ba3ca3983b
Component: engine
2015-12-09 12:04:58 -05:00
c10aeda8bb
Use ensureReaderClosed consistently to close a response body reader.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 8c9c9e137c5c7a84ed4ac4459c52147daf8a2a80
Component: engine
2015-12-09 12:04:58 -05:00
bf3d33ff62
Implement getExitCode with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 7df71ca31dad5eb48093879730b4761b2109291e
Component: engine
2015-12-09 12:04:58 -05:00
8917bc241d
Implement docker wait with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 51efb1480a58b2317e1ad1833964ccad4456e6be
Component: engine
2015-12-09 12:04:58 -05:00
b7a622c2a0
Implement docker version with standalone client lib.
...
Use Go template definitions for default format.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 1fe912151b9239b891b2da704c6ddcc6081fad2d
Component: engine
2015-12-09 12:04:58 -05:00
73385f6639
Implement docker unpause with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: b8be62e28eee322b791251f29595648f795efcb3
Component: engine
2015-12-09 12:04:57 -05:00
5787f4e76e
Implement trusted tagging with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: d78ce02f881785ac5f2014673b6ee587f74d9279
Component: engine
2015-12-09 12:04:57 -05:00
bc2d9f28b4
Implement docker top with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 7573c153c5708091177aca058a3cc84a1ab58377
Component: engine
2015-12-09 12:04:57 -05:00
f0cc35a48e
Implement docker tag with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 21ffdf0e0e402cfc00f2bb1476fb2a8510418ec0
Component: engine
2015-12-09 12:04:57 -05:00
e510756086
Implement docker stop with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 9ec1cf92f5fda4b5bae02408b469cf8f65c96f9a
Component: engine
2015-12-09 12:04:57 -05:00
0bbbaac94e
Implement docker save with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 373f55eecd39625f9f2751d8f940e83a056b6261
Component: engine
2015-12-09 12:04:56 -05:00
30d4ac73f9
Implement docker rmi with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: 37d6fee8cfddd8e1afabbdaa232fa64a36494579
Component: engine
2015-12-09 12:04:56 -05:00
8ab422b412
Implement docker remove with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: fb6533e6cf1793b653ab0ea9f12b6b6876076d97
Component: engine
2015-12-09 12:04:56 -05:00
74f650b8f2
Implement docker restart with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: b7de53634c3262997593d140c9b68683135b55e1
Component: engine
2015-12-09 12:04:56 -05:00
6f93333b24
Implement container rename with standalone client lib.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: ac8fb77c7401d2d8cfd75bb8399b0f91484210ad
Component: engine
2015-12-09 12:04:56 -05:00