mirror of
https://github.com/distribution/distribution
synced 2025-02-23 06:49:36 +01:00
10 lines
334 B
Go
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"`
|
||
|
}
|