mirror of
https://github.com/distribution/distribution.git
synced 2025-09-04 16:30:31 +00:00
Update manifest format to rename blobsums and use arrays of dictionaries
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
@@ -32,13 +32,21 @@ type RegistryInfo struct {
|
|||||||
Standalone bool `json:"standalone"`
|
Standalone bool `json:"standalone"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type FSLayer struct {
|
||||||
|
BlobSum string `json:"blobSum"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ManifestHistory struct {
|
||||||
|
V1Compatibility string `json:"v1Compatibility"`
|
||||||
|
}
|
||||||
|
|
||||||
type ManifestData struct {
|
type ManifestData struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Tag string `json:"tag"`
|
Tag string `json:"tag"`
|
||||||
Architecture string `json:"architecture"`
|
Architecture string `json:"architecture"`
|
||||||
BlobSums []string `json:"blobSums"`
|
FSLayers []*FSLayer `json:"fsLayers"`
|
||||||
History []string `json:"history"`
|
History []*ManifestHistory `json:"history"`
|
||||||
SchemaVersion int `json:"schemaVersion"`
|
SchemaVersion int `json:"schemaVersion"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type APIVersion int
|
type APIVersion int
|
||||||
|
Reference in New Issue
Block a user