Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion protect/control/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,17 @@
string name = 1;
}

message WorkloadBlockDeviceSpec {
string target_path = 1;
string device_path = 2;
BlockDeviceMountOptions mount_options = 3;
}

message BlockDeviceMountOptions {
bool readonly = 1;
string permissions = 2;
}

message ZoneStatus {
ZoneState state = 1;
ZoneNetworkStatus network_status = 2;
Expand Down Expand Up @@ -311,6 +322,7 @@
repeated WorkloadScratchMount scratch_mount = 8;
repeated CgroupLimit cgroup_limits = 9;
string hostname = 10;
repeated WorkloadBlockDeviceSpec block_devices = 11;
}

message CgroupLimit {
Expand Down Expand Up @@ -354,11 +366,13 @@
google.protobuf.Timestamp created_at = 6;
}

message WorkloadBlockDeviceInfo {
uint32 block_index = 1;
uint64 device_id = 2;
string loop_device = 3;
reserved 3;
string device = 4;
bool loop_dev = 5;
}

Check failure on line 375 in protect/control/v1/common.proto

View workflow job for this annotation

GitHub Actions / buf

Previously present field "3" with name "loop_device" on message "WorkloadBlockDeviceInfo" was deleted.

message WorkloadBlockDeviceStatus {
repeated WorkloadBlockDeviceInfo devices = 1;
Expand Down
Loading