api: generate protobufs using go generate
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
@@ -2,6 +2,8 @@ syntax = "proto3";
|
||||
|
||||
package containerd.v1;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
service Registry {
|
||||
// Pull an image from a registry
|
||||
rpc Pull(PullRequest) returns (PullResponse);
|
||||
@@ -26,6 +28,18 @@ message PullResponse {
|
||||
repeated Layer layers = 2;
|
||||
}
|
||||
|
||||
message PushRequest {}
|
||||
message PushResponse {}
|
||||
|
||||
message StatusRequest {}
|
||||
message StatusResponse {}
|
||||
|
||||
message DeleteRequest {}
|
||||
message DeleteResponse {}
|
||||
|
||||
message CancelRequest{}
|
||||
message CancelResponse{}
|
||||
|
||||
message Layer {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
uint64 size = 2;
|
||||
|
||||
Reference in New Issue
Block a user