|
|
Implement a server-side config service interface.
This implements "server/config", a service-specific config service
interface. This interface is noticably different from the
"common/config.Interface" in the following ways:
- It accepts an authority: on whose behalf is the config request being
issued?
- Defines a greatly-reduced interface, allowing for much simpler cache
implementations.
- Allows for format translation, enabling implicit conversion and cache
storage of configuration data in a different format from its native
config service representation. Specifically, this targets storing text
protobufs as binary.
Ultimately, we will delete the equivalent packages out of
"common/config", leaving it as a client endpoint to the config service.
Updates to services, notably "appengine/gaeconfig" will follow.
BUG= chromium:674378
TEST=unit
Review-Url: https://codereview.chromium.org/2580713002
Committed: https://github.com/luci/luci-go/commit/0e70e04e28394c34fad2ec3ba85ff402074f429e
Total comments: 45
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1589 lines, -0 lines) |
Patch |
 |
A |
luci_config/server/cfgclient/backend/authority.go
|
View
|
1
2
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/authority_string.go
|
View
|
1
2
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/backend.go
|
View
|
1
2
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/client/client.go
|
View
|
1
2
|
1 chunk |
+185 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/client/client_test.go
|
View
|
1
2
|
1 chunk |
+164 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/doc.go
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/format/format.go
|
View
|
1
2
|
1 chunk |
+119 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/format/format_test.go
|
View
|
1
2
|
1 chunk |
+156 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/gen.go
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/get_all.go
|
View
|
1
2
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/backend/meta.go
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/config.go
|
View
|
1
2
|
1 chunk |
+195 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/config_test.go
|
View
|
1
2
|
1 chunk |
+222 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/doc.go
|
View
|
1
2
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/format.go
|
View
|
1
2
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/naming.go
|
View
|
1
2
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/naming_test.go
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
luci_config/server/cfgclient/resolver.go
|
View
|
1
2
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 11 (5 generated)
|