summaryrefslogtreecommitdiff
path: root/proto/jobs/v1beta/jobs.proto
blob: 46434fa81cccab6922aa59338d2a627548f9e5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}