Skip to content

Commit 4b8dc08

Browse files
committed
feat(control): introduce resource origin apis
1 parent adbe2e1 commit 4b8dc08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

protect/control/v1/common.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ package protect.control.v1;
55
import "google/protobuf/struct.proto";
66
import "google/protobuf/timestamp.proto";
77

8+
message ResourceOrigin {
9+
string zone_id = 1;
10+
string workload_id = 2;
11+
}
12+
813
message Zone {
914
string id = 1;
1015
ZoneSpec spec = 2;
1116
ZoneStatus status = 3;
17+
ResourceOrigin origin = 4;
1218
}
1319

1420
message ZoneSpec {
@@ -396,6 +402,7 @@ message Workload {
396402
string id = 1;
397403
WorkloadSpec spec = 2;
398404
WorkloadStatus status = 3;
405+
ResourceOrigin origin = 4;
399406
}
400407

401408
enum HostCpuTopologyClass {

0 commit comments

Comments
 (0)