diff options
Diffstat (limited to 'proto/jobs/v1beta/jobs.proto')
-rw-r--r-- | proto/jobs/v1beta/jobs.proto | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/proto/jobs/v1beta/jobs.proto b/proto/jobs/v1beta/jobs.proto index 1bcddf4f..7a2bcd13 100644 --- a/proto/jobs/v1beta/jobs.proto +++ b/proto/jobs/v1beta/jobs.proto @@ -13,17 +13,17 @@ message PushBatchRequest { repeated Job jobs = 1; } -// request to pause/resume -message MaintenanceRequest { +// request to pause/resume/list +message Maintenance { repeated string pipelines = 1; } // some endpoints receives nothing -// all endpoints returns nothing +// all endpoints returns nothing, except error message Empty {} -message List { - repeated string pipelines = 1; +message DeclareRequest { + map<string, string> pipeline = 1; } message Job { @@ -34,10 +34,6 @@ message Job { Options options = 4; } -message HeaderValue { - repeated string value = 1; -} - message Options { int64 priority = 1; string pipeline = 2; @@ -47,3 +43,6 @@ message Options { int64 timeout = 6; } +message HeaderValue { + repeated string value = 1; +} |