Update sandbox protobuf to match CRI

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2022-07-28 17:56:04 -07:00
parent 8823224174
commit aa3303b697
10 changed files with 426 additions and 208 deletions

View File

@@ -4247,7 +4247,7 @@ file {
}
}
message_type {
name: "ControllerShutdownRequest"
name: "ControllerStopRequest"
field {
name: "sandbox_id"
number: 1
@@ -4264,7 +4264,7 @@ file {
}
}
message_type {
name: "ControllerShutdownResponse"
name: "ControllerStopResponse"
}
message_type {
name: "ControllerWaitRequest"
@@ -4351,6 +4351,19 @@ file {
json_name: "extra"
}
}
message_type {
name: "ControllerDeleteRequest"
field {
name: "sandbox_id"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxId"
}
}
message_type {
name: "ControllerDeleteResponse"
}
service {
name: "Store"
method {
@@ -4387,9 +4400,9 @@ file {
output_type: ".containerd.services.sandbox.v1.ControllerStartResponse"
}
method {
name: "Shutdown"
input_type: ".containerd.services.sandbox.v1.ControllerShutdownRequest"
output_type: ".containerd.services.sandbox.v1.ControllerShutdownResponse"
name: "Stop"
input_type: ".containerd.services.sandbox.v1.ControllerStopRequest"
output_type: ".containerd.services.sandbox.v1.ControllerStopResponse"
}
method {
name: "Wait"
@@ -4401,6 +4414,11 @@ file {
input_type: ".containerd.services.sandbox.v1.ControllerStatusRequest"
output_type: ".containerd.services.sandbox.v1.ControllerStatusResponse"
}
method {
name: "Delete"
input_type: ".containerd.services.sandbox.v1.ControllerDeleteRequest"
output_type: ".containerd.services.sandbox.v1.ControllerDeleteResponse"
}
}
options {
go_package: "github.com/containerd/containerd/api/services/sandbox/v1;sandbox"