summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ormos.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/ormos.proto b/proto/ormos.proto
new file mode 100644
index 0000000..5d20c4d
--- /dev/null
+++ b/proto/ormos.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package unit.containers.v0;
+
+service Ormos {
+ rpc ListUsbDevices (ListUsbDevicesRequest) returns (ListUsbDevicesResponse) {}
+}
+
+message ListUsbDevicesRequest {}
+
+message ListUsbDevicesResponse {
+ repeated UsbDevice devices = 1;
+}
+
+message UsbDevice {
+ string device_path = 1;
+ bool is_mounted = 2;
+ string mount_point = 3;
+}