David Calavera
1f09e8f4d7
Merge pull request #202 from boucher/checkpoints
...
Add Checkpoint Create/List/Delete methods.
2016-05-17 09:36:02 -07:00
Vincent Demeester
c08ca7c7fa
Merge pull request #224 from cpuguy83/revert_180
...
Revert "Added network max bandwidth to container host config"
2016-05-14 13:25:01 +02:00
Vincent Demeester
e374c4fb5b
Merge pull request #225 from yongtang/22463-docker-daemon-events
...
Add DaemonEventType so that daemon events could be emitted
2016-05-13 20:29:16 +02:00
Yong Tang
463610bf3d
Add DaemonEventType so that daemon events could be emitted
...
This fix tries to add a new event type `DaemonEventType`
so that daemon events `daemon reload` could be emitted in docker.
This fix is related to
https://github.com/docker/docker/issues/22463
and
https://github.com/docker/docker/pull/22590
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-05-12 22:10:40 -07:00
Brian Goff
2ab40db718
Revert "Added network max bandwidth to container host config"
...
This reverts commit 13246fe108
.
It was decided that we do not want this right now and need a larger
discussion around network policies.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-05-12 14:45:52 -04:00
boucher
f1c9d4063f
Add Checkpoint Create/List/Delete methods.
...
Maps directly to the API exposed by containerd.
Signed-off-by: boucher <rboucher@gmail.com>
2016-05-12 13:44:05 -04:00
Vincent Demeester
bfa0df7725
Merge pull request #200 from coolljt0725/null_restart_policy_is_no
...
make restartpolicy.IsNone return true if restart policy name is null
2016-05-10 17:03:48 +02:00
Antonio Murdaca
129c6f3438
Merge pull request #221 from vdemeester/add-search-tests
...
Add unit tests for ImageSearch
2016-05-10 16:55:04 +02:00
Antonio Murdaca
744a7d2809
Merge pull request #220 from vdemeester/add-push-tests
...
Add unit tests to ImagePush
2016-05-10 16:54:42 +02:00
Antonio Murdaca
e55f56cd7f
Merge pull request #223 from vdemeester/complete-expected-url
...
Complete unit tests with expectedURL
2016-05-10 16:52:52 +02:00
Alexander Morozov
dbe290f49f
Merge pull request #222 from vdemeester/remove-dead-code
...
Remove some dead code.
2016-05-10 07:45:31 -07:00
Vincent Demeester
a8d414c7ef
Remove some dead code.
...
convertKVStringsToMap is not use anywhere :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-10 16:32:45 +02:00
Vincent Demeester
ea7b6fdf6b
Complete unit tests with expectedURL
...
Complete existing unit test to add a check to the expected url.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-10 16:21:15 +02:00
Vincent Demeester
3f0c4c46a5
Add unit tests for ImageSearch
...
It also updates `ImageSearch` to not panic if no `PrivilegeFunc` are
passed in `ImageSearchOptions`.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-10 10:31:11 +02:00
Alexander Morozov
b12603948f
Merge pull request #219 from vdemeester/add-pull-tests
...
Add unit tests for ImagePull
2016-05-09 14:39:28 -07:00
Vincent Demeester
01beade56e
Add unit tests to ImagePush
...
It also updates `ImagePush` to not panic if no `PrivilegeFunc` are
passed in `ImagePushOptions`.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-09 19:19:34 +02:00
Vincent Demeester
dea108d3aa
Add unit tests for ImagePull
...
It also updates `ImagePull` to not panic if no `PrivilegeFunc` are
passed in `ImagePullOptions`.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-09 19:00:47 +02:00
Vincent Demeester
25e39dc361
Merge pull request #210 from allencloud/add-err-handling-and-reponse-body-Close
...
add err handling and change some order
2016-05-09 18:59:47 +02:00
Alexander Morozov
1fb8f09960
Merge pull request #218 from mrunalp/pid_container
...
Add support for specifying pid namespace by container id
2016-05-05 13:55:14 -07:00
Mrunal Patel
bed98ec39a
Add support for specifying pid namespace by container id
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-05-05 16:50:26 -04:00
David Calavera
fd7f99d354
Merge pull request #215 from stevvooe/remove-istrusted
...
registry: remove is_trusted from SearchResult
2016-05-02 09:38:15 -07:00
David Calavera
4fb39068c9
Merge pull request #214 from vdemeester/search-filter
...
Add filter support for ImageSearch
2016-05-01 16:11:12 -07:00
Vincent Demeester
009426d98a
Merge pull request #216 from cpuguy83/add_volume_scope
...
Add `Scope` field to Volume
2016-04-29 18:29:31 +02:00
Vincent Demeester
7542c3decd
Merge pull request #217 from cpuguy83/add_log_attrs
...
Add `Details` field for logs
2016-04-29 17:52:53 +02:00
Brian Goff
9cd2047b45
Add `Details` field for logs
...
`Details` instructs the backend you want the extra logged details when reading
logs, like labels, env, etc.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-04-29 09:32:44 -04:00
Brian Goff
01f2950d30
Add `Scope` field to Volume
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-04-29 09:28:51 -04:00
Stephen J Day
2102768949
registry: remove is_trusted from SearchResult
...
This was deprecated between 1.19 and 1.20 APIs. It is also extremely
confusing in terminology and usage.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-28 17:52:15 -07:00
Vincent Demeester
bdb4411e27
Add filter support for ImageSearch
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-27 18:49:45 +02:00
Vincent Demeester
87de7b6833
Merge pull request #213 from MHBauer/closer-comment
...
Comments on usage of ImageLoad
2016-04-27 11:49:54 +02:00
Morgan Bauer
1cf0da80a9
Comments on usage of ImageLoad
...
Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2016-04-26 23:52:57 -07:00
Alexander Morozov
b7e5e1ecd6
Merge pull request #205 from vdemeester/reference-add-latest
...
Update GetTagFromNamedRef to return latest…
2016-04-26 09:46:14 -07:00
Vincent Demeester
53e97da82e
Add all to option to ImagePullOptions
...
This make the `--all` option more explicit, API wise.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-26 16:18:37 +02:00
allencloud
a57fe8d590
add err handling and change order of resp dealing and nil judging
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-04-26 00:34:53 +08:00
Vincent Demeester
4dbafc9c8e
Update GetTagFromNamedRef to return latest…
...
… in case of no tag in the reference. This also adds some unit test for
this package.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-24 12:05:30 +02:00
Vincent Demeester
3d72d392d0
Merge pull request #192 from thaJeztah/update-maintainers
...
Add more maintainers to this repository
2016-04-24 11:22:01 +02:00
Vincent Demeester
e22df3e6ea
Merge pull request #209 from allencloud/fix-serveral-typos
...
fix several typos
2016-04-24 11:21:25 +02:00
allencloud
f1339f593d
fix several typos
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-04-24 16:14:58 +08:00
Vincent Demeester
4c971acb36
Merge pull request #208 from MHBauer/cancellable-license
...
add LICENSE for cancellable
2016-04-23 11:00:53 +02:00
Morgan Bauer
9033ecf1ba
add LICENSE for cancellable
...
Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2016-04-22 15:34:44 -07:00
David Calavera
eb18779347
Merge pull request #190 from Random-Liu/fix-bug-in-unix-endpoint
...
Set fake host header for local communication.
2016-04-21 08:21:57 -07:00
Sebastiaan van Stijn
433d835c34
Add more maintainers to this repository
...
This repository was created to split out the "API" code
from the docker/docker repository. Not all maintainers
from docker/docker were added yet, so fixing that in
this PR.
I also added Victor Vieux for "Swarm", Daniel Nephin
for Docker Compose, and Stephen Day for distribution.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-04-21 17:07:00 +02:00
Lantao Liu
d5a6705e8a
Set fake host header for local communication.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2016-04-21 01:47:04 -07:00
Vincent Demeester
a2999dbd34
Merge pull request #203 from vdemeester/container_copy_required
...
Update CopyToContainer method signature…
2016-04-19 14:58:00 +02:00
Vincent Demeester
6dc7afebdb
Update CopyToContainer method signature…
...
… to define the required arguments needed to be called.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-15 19:09:57 +02:00
Morgan Bauer
9b12a765bb
Merge pull request #201 from stevvooe/remove-empty-file
...
client: remove empty file
2016-04-14 11:41:32 +01:00
David Calavera
7781a9e7cd
Merge pull request #198 from vdemeester/test-container-copy
...
Add unit test to container_copy.go methods
2016-04-13 11:36:43 -07:00
Stephen J Day
8066cc0d10
client: remove empty file
...
The definition of `RequestPrivilegeFunc` has been moved elsewhere,
obseleting this file. Removing for general hygiene.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-13 11:23:37 -07:00
Lei Jitang
da669e8b6a
make restartpolicy.IsNone return true if restart policy name is null
...
if create a container via API and does not set restart polciy, the restart
name is "", it should also be "no" restart policy.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-04-13 08:19:48 -04:00
Tibor Vass
87b3df23dc
Merge pull request #195 from calavera/version_comparisons
...
Move Docker version comparisons to the types package.
2016-04-12 12:49:49 -04:00
David Calavera
a6dca654f2
Merge pull request #162 from vdemeester/137-required-containers
...
Make required arguments required.
2016-04-12 09:49:46 -07:00