registry/manifest/schema2
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
..
builder.go Add schema2 manifest support 2016-01-07 15:26:26 -08:00
builder_test.go Add schema2 manifest support 2016-01-07 15:26:26 -08:00
manifest.go Add schema2 manifest support 2016-01-07 15:26:26 -08:00
manifest_test.go Add schema2 manifest support 2016-01-07 15:26:26 -08:00