commit | edf6d2bca5994d8d6575ae5ac3cb797872262734 | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Wed Sep 02 16:09:03 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Wed Sep 02 16:09:03 2015 -0700 |
tree | 75d1836d9ee463193fa70fcc9b53f2c6c79eb95e | |
parent | 1a09ade9d2996cde4146daa1145bed05d5da9981 [diff] |
x/ref/services/repository: changes to Application repository API and daemon This CL makes three changes to the Application repository API: - introduce PutX(), which will eventually replace Put. PutX takes only one profile at a time (instead of a slice). If the client wants to add the same envelope for several profiles, they'd have to call PutX repeatedly. This makes the API and failure semantics clear. PutX takes a new Overwrite option to control whether replacing the envelope is allowed (default to false, to encourage creating new versions over replacing existing versions). - introduce Profiles(), which allows inspection of profiles for a given application version or all versions. - add a '*' profile option for Remove to clear all profiles for a given application version or all versions. This CL also contains the implementations for these changes in x/ref/services/application/applicationd, as well as corresponding test logic in impl_test. Change-Id: I7400002f827910e8026ead474d2ca6dcd9d8ee38
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.