Ulysses Souza
5c04e31117
Add compose.proto
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-27 16:04:30 +02:00
Djordje Lukic
474cdbae11
Remove unnecessary if
2020-04-27 15:56:23 +02:00
Djordje Lukic
e6597d6139
Don't cd into a directory before building
...
We pass the directory to build to the `go build` command
2020-04-27 15:42:59 +02:00
Djordje Lukic
756836ffab
Use testify/suite and testify/require
2020-04-27 11:45:23 +02:00
Djordje Lukic
10bc4b93f6
Call moby if the command is unknown
...
Will also check if the context is an original docker context
2020-04-27 11:33:16 +02:00
Djordje Lukic
cdff00d571
Run tests inside a container
2020-04-27 10:17:10 +02:00
Djordje Lukic
32da9e65e8
Only execute moby if the command is not a context command
2020-04-27 09:20:58 +02:00
Djordje Lukic
e2c7370a82
Implement context list
2020-04-26 22:07:50 +02:00
Djordje Lukic
3bb4fe163c
Add `docker context create` command
...
This creates a context with a name and a type
2020-04-26 19:42:20 +02:00
Djordje Lukic
244adb77a4
Merge pull request #20 from chris-crone/copyright
...
Update copyright date
2020-04-24 18:06:14 +02:00
Djordje Lukic
c5e8f297fc
Merge pull request #21 from chris-crone/dockerignore
...
Add dockerignore
2020-04-24 15:05:06 +02:00
Christopher Crone
cbfcd5cf64
Add dockerignore
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 15:03:46 +02:00
Ulysses Souza
31ad0385b2
Merge pull request #13 from ulyssessouza/dockerize-build
...
Dockerize build
2020-04-24 14:44:51 +02:00
Ulysses Souza
9c6a9957aa
Merge pull request #18 from ulyssessouza/refactoring-context
...
Refactor NewContext
2020-04-24 14:44:10 +02:00
Christopher Crone
d166ad82f9
Update copyright date
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:39:49 +02:00
Ulysses Souza
88aef2e4e2
Dockerize build and proto gen
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 14:20:42 +02:00
Guillaume Lours
f393dea175
Merge pull request #19 from chris-crone/clean-gitignore
...
Remove non-project path
2020-04-24 14:13:41 +02:00
Christopher Crone
fcc7582826
Remove non-project path
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:04:27 +02:00
Ulysses Souza
b44547c71f
Refactor NewContext
...
This renames NewContext to NewSigContext and
moves it to ./util/util.go avoiding the servers
to import "github.com/docker/api/client"
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 11:50:30 +02:00
Djordje Lukic
667d1fa37e
Merge pull request #16 from rumpl/feat-containers-proto
...
Add containers proto from docker/d2
2020-04-23 21:21:09 +02:00
Djordje Lukic
d473b83b00
Add containers proto from docker/d2
2020-04-23 12:25:14 +02:00
Djordje Lukic
29a838ddf5
Merge pull request #15 from glours/find_existing_docker_binary
...
Use docker binary find in path to fallback to Moby CLI
2020-04-23 11:32:13 +02:00
Djordje Lukic
5cc722da4a
Merge pull request #14 from glours/upgrade_urfave_cli
...
Use v2 of urfave/cli
2020-04-23 10:07:00 +02:00
Guillaume Lours
8db55e8c5c
Use v2 of urfave/cli
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-23 09:43:53 +02:00
Guillaume Lours
8af8924a58
Use docker binary find in path to fallback to Moby CLI
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-22 23:47:04 +02:00
Djordje Lukic
83e9843ef2
Merge pull request #11 from glours/fix_protobuff_setup_file
...
add protoc-gen-go and remove gogo install
2020-04-21 15:30:51 +02:00
Guillaume Lours
e3d62ce74a
add protoc-gen-go and remove gogo install
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-21 15:29:18 +02:00
Guillaume Lours
1df55a2a3c
Merge pull request #10 from rumpl/feat-go-mod
...
Feat go mod
2020-04-21 15:12:32 +02:00
Djordje Lukic
6bfeda054b
Go mods initialized, protos without gogo
2020-04-21 15:07:41 +02:00
Djordje Lukic
3a5fd3bb07
Use go mod
2020-04-21 14:13:48 +02:00
Guillaume Lours
b24985af56
Merge pull request #9 from glours/default_to_cli_only
...
Fallback to default CLI
2020-04-21 10:01:30 +02:00
Djordje Lukic
4b2c8ae9cf
Call original docker on moby context
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 21:16:03 +02:00
Guillaume Lours
f5aa9638af
Add default shellout to engine if no context specified
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 17:16:37 +02:00
Guillaume Lours
a8403241e4
Add default shellout to engine if no context specified
...
Improve CLI documentation
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 16:22:15 +02:00
Nicolas De Loof
3dac4df803
Implement context loading
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 16:22:15 +02:00
Guillaume LOURS
2a99ecdeec
Merge pull request #8 from rumpl/feat-client-connection
...
Configure client connection backoff
2020-04-17 14:51:28 +02:00
Djordje Lukic
dfa8e03860
Configure client connection backoff
...
For faster startup times (from 2s to ~130ms)
2020-04-17 14:37:54 +02:00
Michael Crosby
8e68e36894
Merge pull request #5 from chris-crone/proto-mac
...
Fix macOS protobuf install
2020-04-08 10:26:34 -04:00
Christopher Crone
3a6a9c1d9a
macOS install fixes
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-08 14:07:11 +02:00
Michael Crosby
a9ad7c3d1b
Merge pull request #3 from gtardif/gogo_protobuf_setup
...
Add gogo protobuf in install script
2020-04-07 15:58:35 -04:00
Michael Crosby
c1b45ea8c5
Merge pull request #4 from gtardif/rename_example
...
Rename context to example to make it more explicit
2020-04-07 15:58:22 -04:00
Guillaume Tardif
91951eb03a
Rename context to example to make it more explicit, context will be a local command managing contexts (similar to docker-cli context command, adapted here for more generic purpose)
2020-04-07 21:36:25 +02:00
Guillaume Tardif
2a2dff18cb
Add gogo protobuf in install script (from https://github.com/gogo/protobuf )
2020-04-07 16:58:37 +02:00
Michael Crosby
37591c714b
Add base cli and connection logic
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 11:54:01 -04:00
Michael Crosby
be8e73292c
Merge pull request #2 from glours/fix_macosx_protobuff_setup
...
Fix install-protobuf script for macosx install
2020-04-06 11:23:36 -04:00
Michael Crosby
bae830a1b1
Add initial backend proto and example
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 11:22:34 -04:00
Michael Crosby
9659b5df51
Add *.protos to vendor
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 11:22:17 -04:00
Guillaume Lours
2ddab8e424
Fix install-protobuf script for macosx install
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-06 17:19:16 +02:00
Michael Crosby
d1909a8d4d
Add initial vendor files
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 11:07:29 -04:00
Michael Crosby
b1c9da0d17
Add initial backend.proto
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 10:52:35 -04:00