api/mount: add common mount type for services
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package containerd.v1;
|
||||
|
||||
import "api/mount/mount.proto";
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
service Execution {
|
||||
@@ -52,13 +53,6 @@ message ProcessSpec {
|
||||
string stderr = 8;
|
||||
}
|
||||
|
||||
message Mount {
|
||||
string source = 1;
|
||||
string target = 2;
|
||||
string type = 3;
|
||||
repeated string options = 4;
|
||||
}
|
||||
|
||||
message User {
|
||||
uint32 uid = 1;
|
||||
uint32 gid = 2;
|
||||
|
@@ -1,3 +1,3 @@
|
||||
package execution
|
||||
|
||||
//go:generate protoc -I.:../../../../../github.com/gogo/protobuf --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/execution,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. execution.proto
|
||||
//go:generate protoc -I.:../..:../../../../../github.com/gogo/protobuf:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/execution,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor,Mapi/mount/mount.proto=github.com/docker/containerd/api/mount:. execution.proto
|
||||
|
Reference in New Issue
Block a user