api/mount: add common mount type for services

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2016-12-01 15:27:52 -08:00
parent ef03000b27
commit f898628330
7 changed files with 1020 additions and 770 deletions

View file

@ -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;