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

Unified Diff: luci_config/server/cfgclient/backend/meta.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/get_all.go ('k') | luci_config/server/cfgclient/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/server/cfgclient/backend/meta.go
diff --git a/luci_config/server/cfgclient/backend/meta.go b/luci_config/server/cfgclient/backend/meta.go
new file mode 100644
index 0000000000000000000000000000000000000000..9ef9be9b036a27d97f8240b9fa11d19da9ec5c35
--- /dev/null
+++ b/luci_config/server/cfgclient/backend/meta.go
@@ -0,0 +1,18 @@
+// Copyright 2016 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+package backend
+
+// Meta is backend metadata about a single configuration file.
+type Meta struct {
+ // ConfigSet is the item's config set.
+ ConfigSet string
+ // Path is the item's path within its config set.
+ Path string
+
+ // ContentHash is the content hash.
+ ContentHash string
+ // Revision is the revision string.
+ Revision string
+}
« no previous file with comments | « luci_config/server/cfgclient/backend/get_all.go ('k') | luci_config/server/cfgclient/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698