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

Unified Diff: luci_config/server/cfgclient/backend/backend.go

Issue 2801463002: Milo: Use custom config caching layer (Closed)
Patch Set: Review: Remove double logging Created 3 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 | « no previous file | luci_config/server/cfgclient/backend/client/client.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/server/cfgclient/backend/backend.go
diff --git a/luci_config/server/cfgclient/backend/backend.go b/luci_config/server/cfgclient/backend/backend.go
index c0e2557faf19c997b04a469026d26813b2241864..1417dba85ca0f997fcc6a4de44b474288f16cf82 100644
--- a/luci_config/server/cfgclient/backend/backend.go
+++ b/luci_config/server/cfgclient/backend/backend.go
@@ -7,6 +7,8 @@ package backend
import (
"net/url"
+ "github.com/luci/luci-go/common/config"
+
"golang.org/x/net/context"
)
@@ -63,6 +65,9 @@ type B interface {
// ConfigSetURL returns the URL for the specified config set.
ConfigSetURL(c context.Context, configSet string, p Params) (url.URL, error)
+
+ // GetConfigInterface returns the raw configuration interface of the backend.
+ GetConfigInterface(c context.Context, a Authority) config.Interface
}
// Factory is a function that generates a B given a Context.
« no previous file with comments | « no previous file | luci_config/server/cfgclient/backend/client/client.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698