containerd/metadata
Stephen J Day 783ed05057
metadata: ensure correct updates on Container
This fixes a few bugs in the container store related to reading and
writing fields. Specifically, on update, the full field set wasn't being
returned to the caller, making it appear that the store was corrupted.
We now return the correctly updated field and store the missing field
that was omitted in the original implementation. In course, we also have
defined the update semantics of each field, as well as whether or not
they are required.

The big addition here is really the container metadata testsuite. It
covers listing, filtering, creates, updates and deletes in a vareity of
scenarios.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-08-18 14:43:00 -07:00
..
boltutil Refactor common boltdb fields to subpackage 2017-08-02 15:49:23 -07:00
adaptors.go Update the content interface to return info from update 2017-07-12 16:22:13 -07:00
bolt.go Add namespaced snapshotter implementation 2017-06-29 16:16:26 -07:00
buckets.go metadata: ensure correct updates on Container 2017-08-18 14:43:00 -07:00
containers_test.go metadata: ensure correct updates on Container 2017-08-18 14:43:00 -07:00
containers.go metadata: ensure correct updates on Container 2017-08-18 14:43:00 -07:00
content_test.go Add support for content labels on commit 2017-08-11 14:15:20 -07:00
content.go Add support for content labels on commit 2017-08-11 14:15:20 -07:00
images.go Refactor common boltdb fields to subpackage 2017-08-02 15:49:23 -07:00
namespaces.go namespaces, identifiers: split validation 2017-07-12 14:46:47 -07:00
snapshot_test.go Run snapshot test suite for metadata and client 2017-07-25 10:47:45 -07:00
snapshot.go Update snapshot metadata to support labels 2017-08-02 16:28:41 -07:00