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

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

Issue 2801463002: Milo: Use custom config caching layer (Closed)
Patch Set: Fix swarming leftovers 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
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..6c3ed95f47a30a83385d4bd55b69c831d57b0776 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 for the backend.
nodir 2017/04/05 21:47:50 s/for/of/
hinoka 2017/04/06 03:34:33 Done.
+ 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') | milo/appengine/common/config.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698