OLD | NEW |
(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 message Alias { |
| 10 string other_config = 1; |
| 11 } |
| 12 |
| 13 message Distributor { |
| 14 reserved 2; // future: generic pRPC based distributor |
| 15 reserved 3; // future: generic gRPC based distributor |
| 16 |
| 17 reserved 4; // future swarming_v1 distributor |
| 18 reserved 2048; // future jobsim 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 } |
| 29 |
| 30 message Config { |
| 31 map<string, Distributor> distributor_configs = 1; |
| 32 } |
OLD | NEW |