aboutsummaryrefslogtreecommitdiff
path: root/util/util.go
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2017-03-02 10:15:23 -0800
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-05-02 13:39:18 -0700
commit2ccea6496efc054c21c5ed397f3caff8d4992957 (patch)
tree3a5a46492ad867d767770985773d08dcd49d1df6 /util/util.go
parent49f7bad068c82d71d2af73b9c8046fb882b29c69 (diff)
metadata: introduce protobuf structures
This commit adds in the metadata package. The primary purpose of this package is to provide the on-disk metadata structures in the form of protocol buffers. This includes: - Policy metadata structure - Protector metadata structure - Config file structure - All necessary sub-structures (wrapped keys, parameters, etc) This commit also adds in an example usage of the Config structure, which represents the structure of the global config file. All the package does at this point is convert between the Config structure and a JSON representation. Here we introduce govendor, which is described more in the README. This means we will have all of our Go dependencies in the vendor subdirectory. This means we will have no Go source dependencies, only dependencies on the build tools (Go and govendor). The README describes this in detail. Note that we commit the generated files. see: https://blog.golang.org/generate Change-Id: Iaacd46666b5d3e4e865a0f4045dd63ed7e3d6f96
Diffstat (limited to 'util/util.go')
0 files changed, 0 insertions, 0 deletions