Skip to content

Commit

Permalink
sandbox: add sandboxer field of sandbox requests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
abel-von authored and f00589305 committed Oct 16, 2023
1 parent de92d01 commit f372b35
Show file tree
Hide file tree
Showing 5 changed files with 353 additions and 207 deletions.
56 changes: 56 additions & 0 deletions api/next.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
Loading

0 comments on commit f372b35

Please sign in to comment.