summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2025-06-07 23:43:27 -0500
committerunitexe <unitexe70@gmail.com>2025-06-07 23:43:27 -0500
commit32f899b71484ee28ce807f998e507719ecbb3541 (patch)
treef44dec7a6ba749abc655074a8dfd54d839cabf9f /proto
parent741a15d4073546628491830d979a34df35ff44e8 (diff)
List container image archives via gRPC server
Diffstat (limited to 'proto')
-rw-r--r--proto/ormos.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/proto/ormos.proto b/proto/ormos.proto
index 340dcf5..05ae661 100644
--- a/proto/ormos.proto
+++ b/proto/ormos.proto
@@ -6,6 +6,8 @@ service Ormos {
rpc ListUsbDevices (ListUsbDevicesRequest) returns (ListUsbDevicesResponse) {}
rpc MountUsbDevice (MountUsbDeviceRequest) returns (MountUsbDeviceResponse) {}
rpc UnmountUsbDevice (UnmountUsbDeviceRequest) returns (UnmountUsbDeviceResponse) {}
+
+ rpc ListImageArchives (ListImageArchivesRequest) returns (ListImageArchivesResponse) {}
}
message MountUsbDeviceRequest {
@@ -38,3 +40,17 @@ message UsbDevice {
bool is_mounted = 2;
string mount_point = 3;
}
+
+message ListImageArchivesRequest {
+ string path = 1;
+}
+
+message ListImageArchivesResponse {
+ repeated ImageArchive image_archives = 1;
+}
+
+message ImageArchive {
+ string file_path = 1;
+ int64 file_size_bytes = 2;
+ string sha256_checksum = 3;
+}