Ulysses Souza
73529cc264
Refactor example/backend
...
Also promote init function from returning
interface{} to backend.Service to avoid
typecasting
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-05 17:14:26 +02:00
Ulysses Souza
e075df6f8f
Fix linter issues
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-05 16:27:22 +02:00
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
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
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
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
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
244adb77a4
Merge pull request #20 from chris-crone/copyright
...
Update copyright date
2020-04-24 18:06:14 +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
Djordje Lukic
6bfeda054b
Go mods initialized, protos without gogo
2020-04-21 15:07:41 +02: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
b1c9da0d17
Add initial backend.proto
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 10:52:35 -04:00
Michael Crosby
a4b0259456
Add doc.go
...
The doc.go file in the proto package allows protobuild to find all protobuf
packages in the project and compile the protos.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2020-04-06 10:43:36 -04:00