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
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
David Calavera
663018389e
Move Docker version comparisons to the types package.
...
Most of the comparisons are done at the API level.
In the long term, it makes more sense to have these functions
in this package, so people can reuse them implementing other clients.
This change removes the custom Version type. The custom type doesn't
provide any extra value since you can wrap any string in it an the
comparisons can easily be done with plain strings.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-04-12 09:30:20 -07:00
Vincent Demeester
919e008632
Add unit test to container_copy.go methods
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-12 17:31:40 +02:00
Vincent Demeester
2072866fc2
Merge pull request #197 from vdemeester/fix-some-lint
...
Add missing comment on ToParamWithVersion
2016-04-12 17:27:51 +02:00
Vincent Demeester
dab36939d7
Add missing comment on ToParamWithVersion
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-12 09:23:19 +02:00
David Calavera
a752e6b40e
Merge pull request #196 from stevvooe/remove-publish-service
...
types/container: remove PublishService from container.Config
2016-04-11 15:30:45 -07:00
Stephen J Day
f5fbd4e4ab
types/container: remove PublishService from container.Config
...
This was never used in a non-experimental branch. It was removed from
docker in https://github.com/docker/docker/pull/16645 .
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-11 13:50:25 -07:00
David Calavera
6156954c5d
Merge pull request #145 from cyphar/cgroup-stats-pids-limit
...
types: stats: add pids.max to PidsStats
2016-04-08 09:41:09 -07:00
David Calavera
39e3fe4ff2
Merge pull request #187 from vdemeester/bring-back-my-lint
...
Fixes lint in `validate` target
2016-04-07 12:51:08 -04:00
Vincent Demeester
5b9e86c118
Merge pull request #191 from nishanttotla/add-update-version-to-interface
...
Adding UpdateClientVersion to APIClient interface
2016-04-05 09:03:00 +02:00
Nishant Totla
fec4f715f1
Adding UpdateClientVersion to APIClient interface
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-04-04 16:49:34 -07:00
Dongluo Chen
30ac018920
Merge pull request #174 from nishanttotla/container-filter-backward-compat
...
Allowing slice container filters for older daemons
2016-04-04 14:06:33 -07:00
Tibor Vass
dcbc3b7ce4
Merge pull request #186 from bboreham/blank-json
...
Don't claim to have json payload when it is blank
2016-04-04 14:20:00 -04:00
Vincent Demeester
37cc88a041
Merge pull request #185 from nishanttotla/version-update-function
...
Adding function to allow for updating client version
2016-04-04 10:19:07 +02:00
Nishant Totla
c3e35722ba
Adding function to allow for updating client version
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-04-02 12:11:34 -07:00
Bryan Boreham
7a92443cac
Refactor: in sendRequest() skip allocating a body if the object is nil
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2016-04-02 18:02:56 +00:00
Bryan Boreham
e85d05fef6
Add test for valid json supplied in 'start' request
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2016-04-02 17:44:30 +00:00
Vincent Demeester
ab3adb914d
Fixes lint in `validate` target
...
For some reason, the `golint` check in `make validate` does nothing, and
thus, we missed some lint warnings.
This add a `lint` target and make the `validate` target depends on and
make it pass.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-01 23:44:30 +02:00
Bryan Boreham
9468fd10b4
Don't claim to have json payload if it is blank
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2016-04-01 18:22:46 +01:00
Vincent Demeester
acf8a70ecb
Creates a types/reference package…
...
… for reference related code O:).
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-01 11:00:16 +02:00
Nishant Totla
81388f00dd
Allowing slice container filters for older daemons
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-04-01 00:52:49 -07:00
Vincent Demeester
8924d69003
Merge pull request #183 from WeiZhang555/hijack-throw-err
...
Throw client.Do(req) error in postHijacked
2016-04-01 08:16:28 +02:00
David Calavera
b4eede2c5f
Merge pull request #184 from allencloud/fix-typos
...
fix typos
2016-03-31 10:50:08 -07:00
allencloud
d31745bb2c
fix typos
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-04-01 01:21:51 +08:00
Zhang Wei
abe12a705e
Throw client.Do(req) error in postHijacked
...
Sometime when client issues an http request throw clientconn.Do(req),
server can send an error through hijacked http connection and close this
connection afterwards. We need to throw this error(httputil.ErrPersistEOF)
out, to let client know the connection is closed, so client can choose
to abort after reading detailed error message from hijacked connection.
Also client can ignore other kinds of errors.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2016-03-31 15:59:45 +08:00
John Howard
128e584a01
Merge pull request #180 from darrenstahlmsft/WindowsStorageQos
...
Added network max bandwidth to host config
2016-03-30 18:49:47 -07:00
Darren Stahl
13246fe108
Added network max bandwidth to container host config
...
Signed-off-by: Darren Stahl <darst@microsoft.com>
2016-03-30 18:02:09 -07:00
David Calavera
52d333f37c
Merge pull request #181 from darrenstahlmsft/RenameIOMaximum
...
rename IO maximums to better match the existing naming
2016-03-30 16:42:50 -07:00
Darren Stahl
53f04117fa
rename IO maximums to better match the existing naming
...
Signed-off-by: Darren Stahl <darst@microsoft.com>
2016-03-30 15:49:30 -07:00
David Calavera
6ca9064650
Release v0.3.2
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-30 13:08:29 -04:00
Alexander Morozov
1c77fab9bb
Merge pull request #177 from calavera/revert_server_name_set
...
Revert "Set the TLS connection ServerName when the transport is created."
2016-03-30 09:53:03 -07:00
David Calavera
b1e8fe822f
Revert "Set the TLS connection ServerName when the transport is created."
...
This reverts commit 9eec4dc67b
.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-30 12:45:44 -04:00
Vincent Demeester
9a0cccd2da
Merge pull request #176 from luxifer/patch-1
...
Fix doc typo in ContainerWait function
2016-03-30 12:42:04 +02:00
Vincent Demeester
11295d3bce
Using distribution/reference for Image* function
...
At some point the format of the reference should be daemon specific, and
thus should not be *imposed* via the repository:tag current
arguments. The engine-api library should encorage the use of reference.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-30 12:33:23 +02:00
Vincent Demeester
486171b34d
Make required arguments required.
...
Change method signatures to make required arguments actually
required (using a paramater), all accross the API.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-30 12:33:23 +02:00
Florent Viel
9d7c6139fa
Fix doc typo in ContainerWait function
...
Signed-off-by: Florent Viel <florent.viel69@gmail.com>
2016-03-30 09:36:41 +02:00