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

Side by Side Diff: appengine/cmd/dm/distributor/protos/distributor.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 distributor;
8
9 import "jobsim/jobsim.proto";
10 import "swarmingV1/swarmingV1.proto";
11
12 message Alias {
13 string other_config = 1;
14 }
15
16 message Distributor {
17 reserved 2; // future: generic pRPC based distributor
18 reserved 3; // future: generic gRPC based distributor
19
20 // TODO(iannucci): Maybe something like Any or extensions would be a better
21 // fit here? The ultimate goal is that users will be able to use the proto
22 // text format for luci-config. I suspect that Any or extensions would lose
23 // the ability to validate such text-formatted protobufs, but maybe that's
24 // not the case.
25 oneof distributor_type {
26 Alias alias = 1;
27
28 swarmingV1.Config swarming_v1 = 4;
29
30 // this is for testing purposes and will only be used in production to put
31 // test load on DM. It's tagged at 2048 to keep it well out of the way.
32 jobsim.Config jobsim = 2048;
33 }
34 }
35
36 message Config {
37 map<string, Distributor> distributor_configs = 1;
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698