sandbox: add sandboxer field of sandbox requests

As we are going to support more kinds of sandboxers, we have to tell
containerd which sandboxer used to manipulate a specific sandbox.

Signed-off-by: Abel Feng <fshb1988@gmail.com>
This commit is contained in:
Abel Feng
2023-06-05 21:00:44 +08:00
committed by f00589305
parent de92d012bc
commit f372b3501b
5 changed files with 361 additions and 215 deletions

View File

@@ -4974,6 +4974,13 @@ file {
type_name: ".containerd.types.Sandbox.ExtensionsEntry"
json_name: "extensions"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
nested_type {
name: "Runtime"
field {
@@ -5194,6 +5201,13 @@ file {
type_name: ".containerd.services.sandbox.v1.ControllerCreateRequest.AnnotationsEntry"
json_name: "annotations"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
nested_type {
name: "AnnotationsEntry"
field {
@@ -5234,6 +5248,13 @@ file {
type: TYPE_STRING
json_name: "sandboxId"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerStartResponse"
@@ -5297,6 +5318,13 @@ file {
type: TYPE_STRING
json_name: "sandboxId"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerPlatformResponse"
@@ -5325,6 +5353,13 @@ file {
type: TYPE_UINT32
json_name: "timeoutSecs"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerStopResponse"
@@ -5338,6 +5373,13 @@ file {
type: TYPE_STRING
json_name: "sandboxId"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerWaitResponse"
@@ -5373,6 +5415,13 @@ file {
type: TYPE_BOOL
json_name: "verbose"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerStatusResponse"
@@ -5459,6 +5508,13 @@ file {
type: TYPE_STRING
json_name: "sandboxId"
}
field {
name: "sandboxer"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "sandboxer"
}
}
message_type {
name: "ControllerShutdownResponse"