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

Side by Side Diff: common/api/dm/distributor/distributor.proto

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: self review Created 4 years, 6 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 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698