File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2016 The Linux Foundation
1
+ // Copyright 2016-2022 The Linux Foundation
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -29,6 +29,9 @@ type Descriptor struct {
29
29
// Size specifies the size in bytes of the blob.
30
30
Size int64 `json:"size"`
31
31
32
+ // ArtifactType is the type of artifact this schema refers to.
33
+ ArtifactType string `json:"artifactType,omitempty"`
34
+
32
35
// URLs specifies a list of URLs from which this object MAY be downloaded
33
36
URLs []string `json:"urls,omitempty"`
34
37
Original file line number Diff line number Diff line change 1
- // Copyright 2016 The Linux Foundation
1
+ // Copyright 2016-2022 The Linux Foundation
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -30,6 +30,9 @@ type Manifest struct {
30
30
// Layers is an indexed list of layers referenced by the manifest.
31
31
Layers []Descriptor `json:"layers"`
32
32
33
+ // Refers is an optional link to any existing manifest within the repository.
34
+ Refers * Descriptor `json:"refers,omitempty"`
35
+
33
36
// Annotations contains arbitrary metadata for the image manifest.
34
37
Annotations map [string ]string `json:"annotations,omitempty"`
35
38
}
You can’t perform that action at this time.
0 commit comments