diff options
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/ormos.proto | 12 |
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; +} |
