Ulysses Souza
|
ba455916c6
|
Refactor on services
This refactors the interfaces and implementations of
services
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-05-05 15:37:12 +02:00 |
Guillaume Tardif
|
35c5073cc0
|
First e2e tests running locally (with example backend)
|
2020-05-05 14:40:30 +02:00 |
Ulysses Souza
|
03e418cbbb
|
Add compose up and down
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-05-05 14:03:14 +02:00 |
Djordje Lukic
|
4e9a4185af
|
Add `make lint` and run it on CI
|
2020-05-05 10:50:30 +02:00 |
Djordje Lukic
|
24c035e822
|
Add comments on exported items, remove example command
Also add `make lint` to run the linter
|
2020-05-05 10:27:44 +02:00 |
Djordje Lukic
|
e964a3af2e
|
Implement `docker logs --tal <N>`
|
2020-05-04 16:38:02 +02:00 |
Djordje Lukic
|
1c7270b697
|
Implement logs
|
2020-05-04 15:52:31 +02:00 |
Djordje Lukic
|
afca3e31b5
|
Implement exec command
|
2020-05-04 12:43:32 +02:00 |
Djordje Lukic
|
28808f3f6d
|
Check that port definition contains source and dest
|
2020-05-04 11:45:34 +02:00 |
Djordje Lukic
|
eee9bf449f
|
Move run to own package
|
2020-05-04 11:35:11 +02:00 |
Djordje Lukic
|
a1a5e1794b
|
Add ports publishing to run
|
2020-05-04 11:35:11 +02:00 |
Djordje Lukic
|
3d363643ad
|
Implement simple ACI run
|
2020-05-04 11:35:11 +02:00 |
Ulysses Souza
|
33c45a0a62
|
Add "goimports"
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-05-04 11:30:21 +02:00 |
Ulysses Souza
|
4f3c2c1996
|
Fix protos and its generation
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-05-04 11:30:21 +02:00 |
Djordje Lukic
|
885fd799e1
|
Get the real status of containers
|
2020-05-03 14:54:15 +02:00 |
Djordje Lukic
|
6ecb5550f7
|
Use a request for the context list rpc in cli.proto
|
2020-04-30 12:42:11 +02:00 |
Djordje Lukic
|
0af5afe440
|
Move the proxy in the server package
|
2020-04-30 12:20:04 +02:00 |
Djordje Lukic
|
8571cf5a04
|
Create a new client on each request
`docker serve` doesn't need a context any more, the server takes the
current context from the request metadata and creates a new client
|
2020-04-30 12:07:26 +02:00 |
Djordje Lukic
|
9ea91791b4
|
Change the current context of the client on each request
* the interceptor takes the current context from the metadat
* each handler needs to call `client.SetContext()` before using the
sevices
|
2020-04-30 12:07:26 +02:00 |
Djordje Lukic
|
40a3a20f78
|
Add serve command that serves the cli and the containers services
|
2020-04-30 12:07:26 +02:00 |
Djordje Lukic
|
b2606b91f2
|
Remove useless client grpc stuff
|
2020-04-30 11:06:04 +02:00 |
Djordje Lukic
|
f4bde8cb89
|
Multiple backend for the cli
* implement a little azure backend
* implement an example backend
* use the right backend from the context
|
2020-04-30 11:01:04 +02:00 |
Djordje Lukic
|
551eb2326f
|
ACI context creation
And remove gRPC stuff from the client for now
|
2020-04-29 19:08:58 +02:00 |
Ulysses Souza
|
3380c9d459
|
Refactor store.New
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-04-27 18:56:37 +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
|
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
|
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 |