Class ManifestListGenerator
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.ManifestListGenerator
-
public class ManifestListGenerator extends java.lang.Object
Generates a manifest list forImage
s.
-
-
Constructor Summary
Constructors Constructor Description ManifestListGenerator(java.util.List<Image> images)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends BuildableManifestTemplate>
ManifestTemplategetManifestListTemplate(java.lang.Class<T> manifestTemplateClass)
Generates a manifest list JSON for the givenImage
s.
-
-
-
Constructor Detail
-
ManifestListGenerator
public ManifestListGenerator(java.util.List<Image> images)
-
-
Method Detail
-
getManifestListTemplate
public <T extends BuildableManifestTemplate> ManifestTemplate getManifestListTemplate(java.lang.Class<T> manifestTemplateClass) throws java.io.IOException
Generates a manifest list JSON for the givenImage
s.- Type Parameters:
T
- child type ofBuildableManifestTemplate
- Parameters:
manifestTemplateClass
- the JSON template to translate the image to- Returns:
- a manifest list JSON
- Throws:
java.io.IOException
- if generating a manifest list fails due to an I/O error when computing digests
-
-