1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00
Files
os/vendor/github.com/docker/distribution/manifest/versioned.go
Darren Shepherd a14846152b Update vendor
2016-05-31 18:14:32 -07:00

13 lines
430 B
Go

package manifest
// Versioned provides a struct with the manifest schemaVersion and . Incoming
// content with unknown schema version can be decoded against this struct to
// check the version.
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"`
}