docker: github.com/docker/docker/vendor/github.com/docker/distribution/manifest Index | Files | Directories

package manifest

import "github.com/docker/docker/vendor/github.com/docker/distribution/manifest"

Index

Package Files

doc.go versioned.go

type Versioned Uses

type Versioned struct {
    // SchemaVersion is the image manifest schema that this image follows
    SchemaVersion int `json:"schemaVersion"`

    // MediaType is the media type of this schema.
    MediaType string `json:"mediaType,omitempty"`
}

Versioned provides a struct with the manifest schemaVersion and mediaType. Incoming content with unknown schema version can be decoded against this struct to check the version.

Directories

PathSynopsis
manifestlist
ocischema
schema1
schema2

Updated 2019-10-31. Refresh now. Tools for package owners.