forked from TrueCloudLab/distribution
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"`
|
||
|
}
|