Skip to content

Commit ef8f2a6

Browse files
authored
Unified Volume Mounts (#9)
* initial api for unified mounts * update protobuf to better preserve compat
1 parent 40b63be commit ef8f2a6

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

protect/control/v1/common.proto

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,15 +357,15 @@ message WorkloadBlockDeviceStatus {
357357
}
358358

359359
message WorkloadMountInfo {
360-
uint64 device_id = 1;
361360
string tag = 2;
362-
string host_directory = 3;
363-
string host_file = 4;
361+
string host_path = 3;
364362
string target_path = 5;
363+
reserved 1, 4;
365364
}
366365

367366
message WorkloadMountStatus {
368-
repeated WorkloadMountInfo devices = 1;
367+
repeated WorkloadMountInfo mounts = 2;
368+
reserved 1;
369369
}
370370

371371
message WorkloadExitStatus {
@@ -490,6 +490,7 @@ message ZoneScratchDiskSpecStaticBlock {
490490

491491
message ZoneDeviceStatus {
492492
repeated ZoneDiskStatus disks = 1;
493+
ZoneMountStatus mount = 2;
493494
}
494495

495496
enum ZoneDiskStatusDiskPurpose {
@@ -507,6 +508,12 @@ message ZoneDiskStatus {
507508
bool delete = 6;
508509
}
509510

511+
message ZoneMountStatus {
512+
uint64 device_id = 1;
513+
string host_path = 2;
514+
string tag = 3;
515+
}
516+
510517
message OciRegistryUsernamePassword {
511518
// username to provide, empty means no username.
512519
string username = 1;

0 commit comments

Comments
 (0)