summaryrefslogtreecommitdiff
path: root/proto/jobs/v1beta/jobs.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/jobs/v1beta/jobs.proto')
-rw-r--r--proto/jobs/v1beta/jobs.proto22
1 files changed, 22 insertions, 0 deletions
diff --git a/proto/jobs/v1beta/jobs.proto b/proto/jobs/v1beta/jobs.proto
new file mode 100644
index 00000000..46434fa8
--- /dev/null
+++ b/proto/jobs/v1beta/jobs.proto
@@ -0,0 +1,22 @@
+syntax = "proto3";
+
+package kv.v1beta;
+option go_package = "./;jobsv1beta";
+
+message Request {
+ // could be an enum in the future
+ string storage = 1;
+ repeated Item items = 2;
+}
+
+message Item {
+ string key = 1;
+ bytes value = 2;
+ // RFC 3339
+ string timeout = 3;
+}
+
+// KV response for the KV RPC methods
+message Response {
+ repeated Item items = 1;
+}