summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2025-06-08 01:27:33 -0500
committerunitexe <unitexe70@gmail.com>2025-06-08 01:27:33 -0500
commit9d22471c440241a78376494214415c60df58caac (patch)
treefc9b47affaa14ade563c4fac8b4fce2efcec3699 /proto
parent23d9b09c1cb6de7202c372ff364b930d99a8b14f (diff)
Copy container image archive to local registry via gRPC server
Diffstat (limited to 'proto')
-rw-r--r--proto/ormos.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/proto/ormos.proto b/proto/ormos.proto
index 05ae661..784d235 100644
--- a/proto/ormos.proto
+++ b/proto/ormos.proto
@@ -8,6 +8,7 @@ service Ormos {
rpc UnmountUsbDevice (UnmountUsbDeviceRequest) returns (UnmountUsbDeviceResponse) {}
rpc ListImageArchives (ListImageArchivesRequest) returns (ListImageArchivesResponse) {}
+ rpc LoadImageArchive (LoadImageArchiveRequest) returns (LoadImageArchiveResponse) {}
}
message MountUsbDeviceRequest {
@@ -54,3 +55,14 @@ message ImageArchive {
int64 file_size_bytes = 2;
string sha256_checksum = 3;
}
+
+message LoadImageArchiveRequest {
+ string file_path = 1;
+ string image_name = 2;
+ string image_tag = 3;
+}
+
+message LoadImageArchiveResponse {
+ bool is_success = 1;
+ string error_message = 2;
+}