distribution/manifest
Aaron Lehmann 2ff77c00ba Add schema2 manifest support
Add schema2 manifest implementation.

Add a schema2 builder that creates a schema2 manifest from descriptors
and a configuration. It will add the configuration to the blob store if
necessary.

Rename the original schema1 manifest builder to ReferenceBuilder, and
create a ConfigBuilder variant that can build a schema1 manifest from an
image configuration and set of descriptors. This will be used to
translate schema2 manifests to the schema1 format for backward
compatibliity, by adding the descriptors from the existing schema2
manifest to the schema1 builder. It will also be used by engine-side
push code to create schema1 manifests from the new-style image
configration, when necessary to push a schema1 manifest.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
..
schema1 Add schema2 manifest support 2016-01-07 15:26:26 -08:00
schema2 Add schema2 manifest support 2016-01-07 15:26:26 -08:00
doc.go Move manifest package to schema1 2015-08-21 16:29:47 -07:00
versioned.go Move manifest package to schema1 2015-08-21 16:29:47 -07:00