Class OciIndexTemplate

  • All Implemented Interfaces:
    ManifestListTemplate, ManifestTemplate, JsonTemplate

    public class OciIndexTemplate
    extends java.lang.Object
    implements ManifestListTemplate
    JSON template for OCI archive "index.json" file.

    Example manifest JSON:

    
     {
       "schemaVersion": 2,
       "mediaType": "application/vnd.oci.image.index.v1+json",
       "manifests": [
         {
           "mediaType": "application/vnd.oci.image.manifest.v1+json",
           "digest": "sha256:e684b1dceef404268f17d4adf7f755fd9912b8ae64864b3954a83ebb8aa628b3",
           "size": 1132,
           "platform": {
             "architecture": "ppc64le",
             "os": "linux"
           },
           "annotations": {
             "org.opencontainers.image.ref.name": "gcr.io/project/image:tag"
           }
         }
       ]
     }
     
    See Also:
    OCI Image Index Specification