Skip to content

Commit f6e0cf1

Browse files
committed
sandbox: add address info in Start and Status response
Signed-off-by: Abel Feng <[email protected]>
1 parent 2c7b992 commit f6e0cf1

File tree

3 files changed

+110
-4
lines changed

3 files changed

+110
-4
lines changed

api/next.pb.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5506,6 +5506,27 @@ file {
55065506
type_name: ".containerd.services.sandbox.v1.ControllerStartResponse.LabelsEntry"
55075507
json_name: "labels"
55085508
}
5509+
field {
5510+
name: "address"
5511+
number: 5
5512+
label: LABEL_OPTIONAL
5513+
type: TYPE_STRING
5514+
json_name: "address"
5515+
}
5516+
field {
5517+
name: "version"
5518+
number: 6
5519+
label: LABEL_OPTIONAL
5520+
type: TYPE_UINT32
5521+
json_name: "version"
5522+
}
5523+
field {
5524+
name: "protocol"
5525+
number: 7
5526+
label: LABEL_OPTIONAL
5527+
type: TYPE_STRING
5528+
json_name: "protocol"
5529+
}
55095530
nested_type {
55105531
name: "LabelsEntry"
55115532
field {
@@ -5696,6 +5717,27 @@ file {
56965717
type_name: ".google.protobuf.Any"
56975718
json_name: "extra"
56985719
}
5720+
field {
5721+
name: "address"
5722+
number: 8
5723+
label: LABEL_OPTIONAL
5724+
type: TYPE_STRING
5725+
json_name: "address"
5726+
}
5727+
field {
5728+
name: "version"
5729+
number: 9
5730+
label: LABEL_OPTIONAL
5731+
type: TYPE_UINT32
5732+
json_name: "version"
5733+
}
5734+
field {
5735+
name: "protocol"
5736+
number: 10
5737+
label: LABEL_OPTIONAL
5738+
type: TYPE_STRING
5739+
json_name: "protocol"
5740+
}
56995741
nested_type {
57005742
name: "InfoEntry"
57015743
field {

api/services/sandbox/v1/sandbox.pb.go

Lines changed: 62 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/sandbox/v1/sandbox.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ message ControllerStartResponse {
120120
uint32 pid = 2;
121121
google.protobuf.Timestamp created_at = 3;
122122
map<string, string> labels = 4;
123+
string address = 5;
124+
uint32 version = 6;
125+
string protocol = 7;
123126
}
124127

125128
message ControllerPlatformRequest {
@@ -163,6 +166,9 @@ message ControllerStatusResponse {
163166
google.protobuf.Timestamp created_at = 5;
164167
google.protobuf.Timestamp exited_at = 6;
165168
google.protobuf.Any extra = 7;
169+
string address = 8;
170+
uint32 version = 9;
171+
string protocol = 10;
166172
}
167173

168174
message ControllerShutdownRequest {

0 commit comments

Comments
 (0)