1
0
mirror of https://github.com/distribution/distribution synced 2025-02-23 06:49:36 +01:00
distribution/manifest/versioned.go

10 lines
334 B
Go
Raw Normal View History

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"`
}