Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Side by Side Diff: appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: work in progress Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 syntax = "proto3";
6
7 package jobsim;
8
9 // Config is ONLY for testing purposes in dm/service. However, because of the
10 // way that the distributor proto works it needs to be included in the main
11 // distributor.proto file. For consistency, this jobsim proto lives here.
12 message Config {
13 // Pool specifies the unique 'pool' name for this jobsim configuration. This
14 // will be used to namespace jobsim objects in the datastore, and can be used
15 // to demonstrate cross-distributor dependencies (by having one pool's jobs
16 // depend on another pool's results).
17 string pool = 1;
18
19 // DoPollback controls whether or not this configuration will force DM to
20 // poll back when recieving a HandleNotification. If this is true, then
21 // HandleNotification will return (nil, nil), and DM will call GetStatus
22 // at some later point. If this is false, then HandleNotification will
23 // directly return the job's status.
24 bool do_pollback = 2;
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698