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

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

Issue 2580713002: Implement a server-side config service interface. (Closed)
Patch Set: Renamed, moved to luci_config package, fixes, split out backends. Created 3 years, 11 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 | « luci_config/server/cfgclient/backend/authority.go ('k') | luci_config/server/cfgclient/backend/backend.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/server/cfgclient/backend/authority_string.go
diff --git a/luci_config/server/cfgclient/backend/authority_string.go b/luci_config/server/cfgclient/backend/authority_string.go
new file mode 100644
index 0000000000000000000000000000000000000000..fa884424620face67f2f46d4779f3cc310fd8ce3
--- /dev/null
+++ b/luci_config/server/cfgclient/backend/authority_string.go
@@ -0,0 +1,16 @@
+// Code generated by "stringer -type Authority"; DO NOT EDIT
+
+package backend
+
+import "fmt"
+
+const _Authority_name = "AsAnonymousAsServiceAsUser"
+
+var _Authority_index = [...]uint8{0, 11, 20, 26}
+
+func (i Authority) String() string {
+ if i < 0 || i >= Authority(len(_Authority_index)-1) {
+ return fmt.Sprintf("Authority(%d)", i)
+ }
+ return _Authority_name[_Authority_index[i]:_Authority_index[i+1]]
+}
« no previous file with comments | « luci_config/server/cfgclient/backend/authority.go ('k') | luci_config/server/cfgclient/backend/backend.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698