You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/manifest.rs
+10
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,15 @@ pub struct OciImageManifest {
95
95
/// required, assuming an empty vector can be used if necessary.
96
96
publayers:Vec<OciDescriptor>,
97
97
98
+
/// This is an optional subject linking this manifest to another manifest
99
+
/// forming an association between the image manifest and the other manifest.
100
+
///
101
+
/// NOTE: The responsibility of implementing the fall back mechanism when encountering
102
+
/// a registry with an [unavailable referrers API](https://github.com/opencontainers/distribution-spec/blob/main/spec.md#referrers-tag-schema)
103
+
/// falls on the consumer of the client.
104
+
#[serde(skip_serializing_if = "Option::is_none")]
105
+
pubsubject:Option<OciDescriptor>,
106
+
98
107
/// The OCI artifact type
99
108
///
100
109
/// This OPTIONAL property contains the type of an artifact when the manifest is used for an
@@ -123,6 +132,7 @@ impl Default for OciImageManifest {
0 commit comments