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.proto60
1 files changed, 0 insertions, 60 deletions
diff --git a/proto/jobs/v1beta/jobs.proto b/proto/jobs/v1beta/jobs.proto
deleted file mode 100644
index c030c0df..00000000
--- a/proto/jobs/v1beta/jobs.proto
+++ /dev/null
@@ -1,60 +0,0 @@
-syntax = "proto3";
-
-package jobs.v1beta;
-option go_package = "./;jobsv1beta";
-
-// single job request
-message PushRequest {
- Job job = 1;
-}
-
-// batch jobs request
-message PushBatchRequest {
- repeated Job jobs = 1;
-}
-
-// request to pause/resume/list/Destroy
-message Pipelines {
- repeated string pipelines = 1;
-}
-
-// some endpoints receives nothing
-// all endpoints returns nothing, except error
-message Empty {}
-
-message DeclareRequest {
- map<string, string> pipeline = 1;
-}
-
-message Job {
- string job = 1;
- string id = 2;
- string payload = 3;
- map<string, HeaderValue> headers = 4;
- Options options = 5;
-}
-
-message Options {
- int64 priority = 1;
- string pipeline = 2;
- int64 delay = 3;
-}
-
-message HeaderValue {
- repeated string value = 1;
-}
-
-message Stats {
- repeated Stat Stats = 1;
-}
-
-// Stat used as a response for the Stats RPC call
-message Stat {
- string pipeline = 1;
- string driver = 2;
- string queue = 3;
- int64 active = 4;
- int64 delayed = 5;
- int64 reserved = 6;
- bool ready = 7;
-}