vendor containers/image, OCI/image-spec

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-09-08 13:23:41 +02:00
parent fc0c5be08d
commit 81d67eab92
17 changed files with 95 additions and 60 deletions

View File

@@ -35,7 +35,7 @@ type ImageConfig struct {
Env []string `json:"Env"`
// Entrypoint defines a list of arguments to use as the command to execute when the container starts.
EntryPoint []string `json:"EntryPoint"`
Entrypoint []string `json:"Entrypoint"`
// Cmd defines the default arguments to the entrypoint of the container.
Cmd []string `json:"Cmd"`

View File

@@ -24,9 +24,9 @@ const (
// MediaTypeImageManifestList specifies the mediaType for an image manifest list.
MediaTypeImageManifestList = "application/vnd.oci.image.manifest.list.v1+json"
// MediaTypeImageSerialization is the mediaType used for layers referenced by the manifest.
MediaTypeImageSerialization = "application/vnd.oci.image.layer.tar+gzip"
// MediaTypeImageLayer is the mediaType used for layers referenced by the manifest.
MediaTypeImageLayer = "application/vnd.oci.image.layer.tar+gzip"
// MediaTypeImageSerializationConfig specifies the mediaType for the image configuration.
MediaTypeImageSerializationConfig = "application/vnd.oci.image.config.v1+json"
// MediaTypeImageConfig specifies the mediaType for the image configuration.
MediaTypeImageConfig = "application/vnd.oci.image.config.v1+json"
)