Commit Graph

35 Commits

Author SHA1 Message Date
Guillaume Tardif fff94aeb6b Fix tabs vs spaces
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-17 18:24:54 +01:00
Guillaume Tardif 35bc1d096e Fix proto message names for ComposeStacks() input / output ; same for ComposeServices()
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-17 10:04:53 +01:00
Guillaume Tardif 08cf86bbff Rename compose List() => Stacks to avoid name collision, and remove confusion with compose ps, also renamed Services()
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-17 09:45:05 +01:00
Guillaume Tardif 4a975a5b0b Adding compose ps API
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-16 16:38:39 +01:00
Guillaume Tardif 631c75051d Adding compose ls API
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-16 14:58:28 +01:00
Guillaume Tardif b4e8c28ecf Add compose project name in gRPC response for up and down
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-16 13:42:59 +01:00
Guillaume Tardif 5906677a2c Add gRPC proxy for `compose down`
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-16 12:19:59 +01:00
Ulysses Souza f6509ac814 Add Healthchecks to ACI
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-06 12:21:12 +01:00
Guillaume Tardif 6cdcc7cb3e Add context details in API context ls: docker endpoint host, ACI region, resource group, subscription id, ECS profile. Also added context description
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-04 17:39:15 +01:00
Chris Crone 25e6a18fef backend: Add --rm support to local backend
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-10-30 18:19:02 +01:00
Guillaume Tardif 83bdb94cb1 Removing API deprecated fields (unused in VSCode Docker extension) while we are still beta. Keeping field numbering to not break all gRPC calls
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-26 09:57:16 +01:00
Ulysses Souza 660c7bbdcf Add command "volume inspect"
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-14 11:11:55 +02:00
Guillaume Tardif 7d8a1398c9 Put back gRPC fields to avoid API breaking change with existing versions of node-sdk, introduced by cfc490fd92
(Even though these fields are unused in VSCode Docker extension, removing them and re-using the fields number totally breaks APIs returning containers : ls, inspect)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-13 15:07:08 +02:00
Guillaume Tardif cfc490fd92 Update gRPC inspect result with HostConfig struct. Breaking changes in inspect API, but this is not used yet in VSCode Docker extension, and still in beta.
(Cf https://github.com/microsoft/vscode-docker/blob/master/src/docker/DockerServeClient/DockerServeUtils.ts)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-08 18:05:52 +02:00
aiordache f983686426 Change EnvVars property to Environment
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 09:51:09 +02:00
aiordache 11d4db6907 Add EnvVars property to the container proto and update unittest
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-01 14:36:03 +02:00
Ulysses Souza 277702dc6b Add argument support to run command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-30 15:34:22 +02:00
Guillaume Tardif b9d6c2e701 Add volume as a new served API, use `one of` in proto for context specific parameters, proxy volume creation
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 14:56:32 +02:00
Ulysses Souza b87f827120 Add gRPC layer to volumes management
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-28 10:06:18 +02:00
Chris Crone d154c41586 Update copyright
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +02:00
Ulysses Souza 15066ce999 Add 'kill' command
- On ACI that's implemented as a stop,
since ACI does not implement a kill

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-04 02:57:54 +02:00
Chris Crone 4c6280b0e9 Rename docker/api -> docker/compose-cli
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-21 17:28:39 +02:00
Djordje Lukic 33758f0764 Add start to gRPC 2020-08-12 14:50:47 +02:00
Guillaume Tardif bc920b2e54 Add restartPolicyCondition to gRPC protos (run & inspect) 2020-08-05 10:05:00 +02:00
Djordje Lukic b146b2f391 Add the platform when returning a container over GRPC 2020-07-08 16:41:25 +02:00
Ulysses Souza 1deb2b8b09 Integrate limits on inspect
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-29 10:32:28 +02:00
Djordje Lukic 4262a8f719 Update protobuf tp 1.25.0 2020-06-26 10:58:31 +02:00
Djordje Lukic ad72c866cc Add license headers 2020-06-18 16:48:03 +02:00
Guillaume Tardif bbcdad39d5 Renamed docker-classic to “com.docker.com”. 2020-06-17 17:57:53 +02:00
Ulysses Souza 1039c5ed94 Add tests on inspect
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 17:20:37 +02:00
Ulysses Souza 96bc1ca6f1 Add inspect command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 15:08:04 +02:00
Djordje Lukic bb69de1db3 Add context endpoint to set the current context 2020-06-08 16:01:43 +02:00
Djordje Lukic c34d016fdb Unify protos with client interfaces
* change function names in containers.proto
* add streams proto
2020-06-08 09:43:19 +02:00
Djordje Lukic b8658b3f54 Rename cli protos to contexts 2020-05-26 10:20:13 +02:00
Djordje Lukic 129e675932 Put all protos inside the `protos` package 2020-05-25 15:04:28 +02:00