[sandbox] Cleanup interfaces

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2022-03-22 16:02:13 -07:00
parent de49745723
commit 85a49e4ee7
9 changed files with 57 additions and 1355 deletions

View File

@@ -3306,45 +3306,6 @@ file {
json_name: "exitedAt"
}
}
message_type {
name: "ControllerPauseRequest"
field {
name: "sandbox_id"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxId"
}
}
message_type {
name: "ControllerPauseResponse"
}
message_type {
name: "ControllerResumeRequest"
field {
name: "sandbox_id"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxId"
}
}
message_type {
name: "ControllerResumeResponse"
}
message_type {
name: "ControllerPingRequest"
field {
name: "sandbox_id"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxId"
}
}
message_type {
name: "ControllerPingResponse"
}
message_type {
name: "ControllerStatusRequest"
field {
@@ -3451,21 +3412,6 @@ file {
input_type: ".containerd.services.sandbox.v1.ControllerWaitRequest"
output_type: ".containerd.services.sandbox.v1.ControllerWaitResponse"
}
method {
name: "Pause"
input_type: ".containerd.services.sandbox.v1.ControllerPauseRequest"
output_type: ".containerd.services.sandbox.v1.ControllerPauseResponse"
}
method {
name: "Resume"
input_type: ".containerd.services.sandbox.v1.ControllerResumeRequest"
output_type: ".containerd.services.sandbox.v1.ControllerResumeResponse"
}
method {
name: "Ping"
input_type: ".containerd.services.sandbox.v1.ControllerPingRequest"
output_type: ".containerd.services.sandbox.v1.ControllerPingResponse"
}
method {
name: "Status"
input_type: ".containerd.services.sandbox.v1.ControllerStatusRequest"

File diff suppressed because it is too large Load Diff

View File

@@ -89,9 +89,6 @@ service Controller {
rpc Start(ControllerStartRequest) returns (ControllerStartResponse);
rpc Shutdown(ControllerShutdownRequest) returns (ControllerShutdownResponse);
rpc Wait(ControllerWaitRequest) returns (ControllerWaitResponse);
rpc Pause(ControllerPauseRequest) returns (ControllerPauseResponse);
rpc Resume(ControllerResumeRequest) returns (ControllerResumeResponse);
rpc Ping(ControllerPingRequest) returns (ControllerPingResponse);
rpc Status(ControllerStatusRequest) returns (ControllerStatusResponse);
}
@@ -122,24 +119,6 @@ message ControllerWaitResponse {
google.protobuf.Timestamp exited_at = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message ControllerPauseRequest {
string sandbox_id = 1;
}
message ControllerPauseResponse {}
message ControllerResumeRequest {
string sandbox_id = 1;
}
message ControllerResumeResponse {}
message ControllerPingRequest {
string sandbox_id = 1;
}
message ControllerPingResponse {}
message ControllerStatusRequest {
string sandbox_id = 1;
}