Skip to content

Commit

Permalink
sandbox: add address info in Start and Status response
Browse files Browse the repository at this point in the history
Signed-off-by: Abel Feng <fshb1988@gmail.com>
  • Loading branch information
abel-von committed Apr 30, 2024
1 parent 2c7b992 commit f6e0cf1
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 4 deletions.
42 changes: 42 additions & 0 deletions api/next.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5506,6 +5506,27 @@ file {
type_name: ".containerd.services.sandbox.v1.ControllerStartResponse.LabelsEntry"
json_name: "labels"
}
field {
name: "address"
number: 5
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "address"
}
field {
name: "version"
number: 6
label: LABEL_OPTIONAL
type: TYPE_UINT32
json_name: "version"
}
field {
name: "protocol"
number: 7
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "protocol"
}
nested_type {
name: "LabelsEntry"
field {
Expand Down Expand Up @@ -5696,6 +5717,27 @@ file {
type_name: ".google.protobuf.Any"
json_name: "extra"
}
field {
name: "address"
number: 8
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "address"
}
field {
name: "version"
number: 9
label: LABEL_OPTIONAL
type: TYPE_UINT32
json_name: "version"
}
field {
name: "protocol"
number: 10
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "protocol"
}
nested_type {
name: "InfoEntry"
field {
Expand Down
66 changes: 62 additions & 4 deletions api/services/sandbox/v1/sandbox.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions api/services/sandbox/v1/sandbox.proto
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ message ControllerStartResponse {
uint32 pid = 2;
google.protobuf.Timestamp created_at = 3;
map<string, string> labels = 4;
string address = 5;
uint32 version = 6;
string protocol = 7;
}

message ControllerPlatformRequest {
Expand Down Expand Up @@ -163,6 +166,9 @@ message ControllerStatusResponse {
google.protobuf.Timestamp created_at = 5;
google.protobuf.Timestamp exited_at = 6;
google.protobuf.Any extra = 7;
string address = 8;
uint32 version = 9;
string protocol = 10;
}

message ControllerShutdownRequest {
Expand Down

0 comments on commit f6e0cf1

Please sign in to comment.