Skip to content

Commit 72fe47b

Browse files
committed
add task api endpoint in oci proto
Signed-off-by: Abel Feng <[email protected]>
1 parent b1fefcc commit 72fe47b

File tree

3 files changed

+64
-2
lines changed

3 files changed

+64
-2
lines changed

core/runtime/v2/runc/options/next.pb.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,27 @@ file {
7373
type: TYPE_STRING
7474
json_name: "criuWorkPath"
7575
}
76+
field {
77+
name: "task_api_address"
78+
number: 12
79+
label: LABEL_OPTIONAL
80+
type: TYPE_STRING
81+
json_name: "taskApiAddress"
82+
}
83+
field {
84+
name: "task_api_protocol"
85+
number: 13
86+
label: LABEL_OPTIONAL
87+
type: TYPE_STRING
88+
json_name: "taskApiProtocol"
89+
}
90+
field {
91+
name: "task_api_version"
92+
number: 14
93+
label: LABEL_OPTIONAL
94+
type: TYPE_UINT32
95+
json_name: "taskApiVersion"
96+
}
7697
reserved_range {
7798
start: 8
7899
end: 9

core/runtime/v2/runc/options/oci.pb.go

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

core/runtime/v2/runc/options/oci.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ message Options {
2929
string criu_image_path = 10;
3030
// criu work path
3131
string criu_work_path = 11;
32+
// task api address, can be a unix domain socket, or vsock address.
33+
string task_api_address = 12;
34+
// protocol for task api connection, currently ttrpc and grpc supported
35+
string task_api_protocol = 13;
36+
// task api version, currently supported value is 2 and 3.
37+
uint32 task_api_version = 14;
3238
}
3339

3440
message CheckpointOptions {

0 commit comments

Comments
 (0)