Interface ManifestListTemplate
-
- All Superinterfaces:
JsonTemplate
,ManifestTemplate
- All Known Implementing Classes:
OciIndexTemplate
,V22ManifestListTemplate
public interface ManifestListTemplate extends ManifestTemplate
Parent class for manifest lists.- See Also:
Docker V2.2 format
,OCI format
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getDigestsForPlatform(java.lang.String architecture, java.lang.String os)
Returns a list of digests for a specific platform found in the manifest list.-
Methods inherited from interface com.google.cloud.tools.jib.image.json.ManifestTemplate
getManifestMediaType, getSchemaVersion
-
-
-
-
Method Detail
-
getDigestsForPlatform
java.util.List<java.lang.String> getDigestsForPlatform(java.lang.String architecture, java.lang.String os)
Returns a list of digests for a specific platform found in the manifest list. see https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list- Parameters:
architecture
- the architecture of the target platformos
- the os of the target platform- Returns:
- a list of matching digests
-
-