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

Unified Diff: milo/api/proto/buildbot.proto

Issue 2275123002: Milo: pRPC endpoint for getting Buildbot master data (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Renamed stuff Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | milo/api/proto/buildbot.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/api/proto/buildbot.proto
diff --git a/milo/api/proto/buildbot.proto b/milo/api/proto/buildbot.proto
new file mode 100644
index 0000000000000000000000000000000000000000..04192de08f292a88661e6fa5ccdd10f161cc918c
--- /dev/null
+++ b/milo/api/proto/buildbot.proto
@@ -0,0 +1,31 @@
+// Copyright 2016 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package milo;
+
+import "google/protobuf/timestamp.proto";
+
+// The buildbot service definition.
+service Buildbot {
+ rpc GetCompressedMasterJSON(MasterRequest) returns (CompressedMasterJSON) {}
+}
+
+// The request containing the name of the master.
+message MasterRequest {
+ string name = 1;
+}
+
+// The response message containing master information.
+message CompressedMasterJSON {
+ // Whether the master is internal or not.
+ bool internal = 1;
+
+ // Timestamp of the freshness of the master data.
+ google.protobuf.Timestamp modified = 2;
+
+ // Gzipped json data of the master.
+ bytes data = 3;
+}
« no previous file with comments | « no previous file | milo/api/proto/buildbot.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698