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

Unified Diff: common/api/logdog_coordinator/services/v1/state.proto

Issue 1910923002: LogDog: Add project namespace to service endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-coordinator-backend
Patch Set: Comments. Created 4 years, 8 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
Index: common/api/logdog_coordinator/services/v1/state.proto
diff --git a/common/api/logdog_coordinator/services/v1/state.proto b/common/api/logdog_coordinator/services/v1/state.proto
index b42054c2bcb6062aecec88b7a19af290f8fc0479..f73f955b475bace66d0ee075ae823d916a47da8c 100644
--- a/common/api/logdog_coordinator/services/v1/state.proto
+++ b/common/api/logdog_coordinator/services/v1/state.proto
@@ -8,25 +8,28 @@ package logdog;
// LogStreamState is the log stream state value communicated to services.
message LogStreamState {
+ // The log stream's project.
+ string project = 1;
// Path is the log stream's path.
- string path = 1;
+ string path = 2;
+
// The log stream's secret.
//
// Note that the secret is returned! This is okay, since this endpoint is only
// accessible to trusted services. The secret can be cached by services to
// validate stream information without needing to ping the Coordinator in
// between each update.
- bytes secret = 2;
+ bytes secret = 3;
// ProtoVersion is the protobuf version for this stream.
- string proto_version = 3;
+ string proto_version = 4;
// The stream index of the log stream's terminal message. If the value is -1,
// the log is still streaming.
- int64 terminal_index = 4;
+ int64 terminal_index = 5;
// If the log stream has been archived.
- bool archived = 5;
+ bool archived = 6;
// If the log stream has been purged.
- bool purged = 6;
+ bool purged = 7;
}
« no previous file with comments | « common/api/logdog_coordinator/services/v1/service.pb.go ('k') | common/api/logdog_coordinator/services/v1/state.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698