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

Unified Diff: common/api/logdog_coordinator/logs/v1/util.go

Issue 1909073002: LogDog: Add project namespace to logs endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-storage
Patch Set: Rebase? 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
« no previous file with comments | « common/api/logdog_coordinator/logs/v1/pb.discovery.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/api/logdog_coordinator/logs/v1/util.go
diff --git a/common/api/logdog_coordinator/logs/v1/util.go b/common/api/logdog_coordinator/logs/v1/util.go
new file mode 100644
index 0000000000000000000000000000000000000000..51b7d3a360b535bb3bb6f5a2f8dd1de9add55e74
--- /dev/null
+++ b/common/api/logdog_coordinator/logs/v1/util.go
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package logdog
+
+// GetMessageProject implements ProjectBoundMessage.
+func (r *GetRequest) GetMessageProject() string { return r.Project }
+
+// GetMessageProject implements ProjectBoundMessage.
+func (r *TailRequest) GetMessageProject() string { return r.Project }
+
+// GetMessageProject implements ProjectBoundMessage.
+func (r *QueryRequest) GetMessageProject() string { return r.Project }
+
+// GetMessageProject implements ProjectBoundMessage.
+func (r *ListRequest) GetMessageProject() string { return r.Project }
« no previous file with comments | « common/api/logdog_coordinator/logs/v1/pb.discovery.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698