From 642ed8bb48e8af29ef44a78c36a99cbff6b19e05 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Fri, 9 Dec 2016 10:13:41 -0800 Subject: [PATCH] Add shim proto Signed-off-by: Michael Crosby --- api/shim/shim.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 api/shim/shim.proto diff --git a/api/shim/shim.proto b/api/shim/shim.proto new file mode 100644 index 000000000..db48cc075 --- /dev/null +++ b/api/shim/shim.proto @@ -0,0 +1,19 @@ +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; +}