api/execution: remove ProcessID from rpc calls
Now that the shim handles all container's processes the system pid is sufficient. Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
@@ -74,14 +74,13 @@ message Container {
|
||||
}
|
||||
|
||||
message Process {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
uint32 pid = 2;
|
||||
repeated string args = 3;
|
||||
repeated string env = 4;
|
||||
User user = 5;
|
||||
string cwd = 6;
|
||||
bool terminal = 7;
|
||||
uint32 exit_status = 8;
|
||||
uint32 pid = 1;
|
||||
repeated string args = 2;
|
||||
repeated string env = 3;
|
||||
User user = 4;
|
||||
string cwd = 5;
|
||||
bool terminal = 6;
|
||||
uint32 exit_status = 7;
|
||||
}
|
||||
|
||||
enum Status {
|
||||
@@ -120,7 +119,7 @@ message ResumeContainerRequest {
|
||||
|
||||
message GetProcessRequest {
|
||||
string container_id = 1 [(gogoproto.customname) = "ContainerID"];
|
||||
string process_id = 2 [(gogoproto.customname) = "ProcessID"];
|
||||
uint32 pid = 2;
|
||||
}
|
||||
|
||||
message GetProcessResponse {
|
||||
@@ -129,17 +128,17 @@ message GetProcessResponse {
|
||||
|
||||
message SignalProcessRequest {
|
||||
string container_id = 1 [(gogoproto.customname) = "ContainerID"];
|
||||
string process_id = 2 [(gogoproto.customname) = "ProcessID"];
|
||||
uint32 pid = 2;
|
||||
uint32 signal = 3;
|
||||
}
|
||||
|
||||
message DeleteProcessRequest {
|
||||
string container_id = 1 [(gogoproto.customname) = "ContainerID"];
|
||||
string process_id = 2 [(gogoproto.customname) = "ProcessID"];
|
||||
uint32 pid = 2;
|
||||
}
|
||||
|
||||
message ListProcessesRequest {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string container_id = 1 [(gogoproto.customname) = "ContainerID"];
|
||||
}
|
||||
|
||||
message ListProcessesResponse {
|
||||
|
Reference in New Issue
Block a user