api: begin to define the containerkit api
This commit cuts out the structure for defining grpc services for this project. To provide compatibility with go package generation and support reuse, we use a single protobuf file per package and make the import paths relative to the GOPATH. This first pass attempts to position the Mount type as the lingua franca of ContainerKit. The Images service will provide paths prepared for use as a set of mounts of the container service. We'll need to merge the container service in place with new file defined here. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
40003e7085
commit
32a25d5523
10 changed files with 690 additions and 0 deletions
3
api/image/gen.go
Normal file
3
api/image/gen.go
Normal file
|
@ -0,0 +1,3 @@
|
|||
package image
|
||||
|
||||
//go:generate protoc -I .:../../..:$GOPATH/src --gogo_out=plugins=grpc,import_path=github.com/docker/containerkit/api/image:. image.proto
|
Loading…
Add table
Add a link
Reference in a new issue