containerd/api/shim/shim.proto
Antonio Murdaca a5fa2c5536
api/shim: fix indent
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-15 10:33:03 +01:00

19 lines
490 B
Protocol Buffer

syntax = "proto3";
package containerd.v1;
import "google/protobuf/empty.proto";
import "gogoproto/gogo.proto";
service ShimService {
rpc Create(CreateRequest) returns (google.protobuf.Empty);
rpc Exec(ExecRequest) returns (google.protobuf.Empty);
rpc State(StateRequest) returns (StateResponse);
rpc Pty(PtyRequest) returns (google.protobuf.Empty);
}
message PtyRequest {
string id = 1 [(gogoproto.customname) = "ID"];
uint32 width = 2;
uint32 height = 3;
}