Chromium Code Reviews| 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. |