Class Manifest
- java.lang.Object
-
- com.salesforce.multicloudj.registry.model.Manifest
-
public final class Manifest extends Object
Parsed OCI manifest from the registry. Supports two shapes: (1) image manifest — config and layer digests; (2) index — multi-platform list.digestidentifies this manifest;configDigestpoints to image config blob;layerDigestslists the filesystem layers in order.- See Also:
- OCI Image Manifest Specification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManifest.IndexEntryEntry in an OCI image index (platform + digest).static classManifest.LayerInfoLayer information including digest and media type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAnnotations()StringgetConfigDigest()StringgetDigest()List<Manifest.IndexEntry>getIndexManifests()List<String>getLayerDigests()List<Manifest.LayerInfo>getLayerInfos()StringgetSubject()static Manifestimage(String configDigest, List<Manifest.LayerInfo> layerInfos, String digest, Map<String,String> annotations, String subject)static Manifestimage(String configDigest, List<String> layerDigests, String digest)static Manifestindex(List<Manifest.IndexEntry> indexManifests, String digest)static Manifestindex(List<Manifest.IndexEntry> indexManifests, String digest, Map<String,String> annotations, String subject)booleanisIndex()
-
-
-
Method Detail
-
image
public static Manifest image(String configDigest, List<Manifest.LayerInfo> layerInfos, String digest, Map<String,String> annotations, String subject)
-
index
public static Manifest index(List<Manifest.IndexEntry> indexManifests, String digest)
-
index
public static Manifest index(List<Manifest.IndexEntry> indexManifests, String digest, Map<String,String> annotations, String subject)
-
getDigest
public String getDigest()
-
isIndex
public boolean isIndex()
-
getConfigDigest
public String getConfigDigest()
-
getLayerInfos
public List<Manifest.LayerInfo> getLayerInfos()
-
getIndexManifests
public List<Manifest.IndexEntry> getIndexManifests()
-
getSubject
public String getSubject()
-
-