api: generate protobufs using go generate
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
6822
api/container/container.pb.go
Normal file
6822
api/container/container.pb.go
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,8 @@ syntax = "proto3";
|
||||
|
||||
package containerd.v1;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
service Containers {
|
||||
rpc Create(CreateRequest) returns (CreateResponse);
|
||||
rpc Start(StartRequest) returns (StartResponse);
|
||||
|
||||
3
api/container/gen.go
Normal file
3
api/container/gen.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package container
|
||||
|
||||
//go:generate protoc -I.:../../../../../github.com/gogo/protobuf --gogoswarm_out=plugins=grpc,import_path=github.com/docker/containerd/api/container,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. container.proto
|
||||
Reference in New Issue
Block a user