1
0
mirror of https://github.com/rancher/os.git synced 2025-07-15 07:41:39 +00:00
os/vendor/github.com/docker/distribution/manifest/versioned.go
2015-12-07 18:17:57 +05:00

10 lines
334 B
Go

package manifest
// Versioned provides a struct with just the manifest schemaVersion. 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"`
}