2016-12-09 18:13:41 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package containerd.v1;
|
|
|
|
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
service ShimService {
|
2016-12-16 22:18:33 +00:00
|
|
|
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);
|
2016-12-09 18:13:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PtyRequest {
|
2016-12-16 22:18:33 +00:00
|
|
|
string id = 1 [(gogoproto.customname) = "ID"];
|
|
|
|
uint32 width = 2;
|
|
|
|
uint32 height = 3;
|
2016-12-09 18:13:41 +00:00
|
|
|
}
|