Class OciIndexTemplate.ManifestDescriptorTemplate
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- com.google.cloud.tools.jib.image.json.OciIndexTemplate.ManifestDescriptorTemplate
-
- All Implemented Interfaces:
JsonTemplate
- Enclosing class:
- OciIndexTemplate
public static class OciIndexTemplate.ManifestDescriptorTemplate extends BuildableManifestTemplate.ContentDescriptorTemplate
Template for inner JSON object representing a single platform specific manifest. See OCI Image Index Specification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OciIndexTemplate.ManifestDescriptorTemplate.Platform
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciIndexTemplate.ManifestDescriptorTemplate.Platform
getPlatform()
void
setPlatform(java.lang.String architecture, java.lang.String os)
Sets a platform.-
Methods inherited from class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
getAnnotations, getDigest, getSize, getUrls
-
-
-
-
Method Detail
-
setPlatform
public void setPlatform(java.lang.String architecture, java.lang.String os)
Sets a platform.- Parameters:
architecture
- the manifest architectureos
- the manifest os
-
getPlatform
@Nullable public OciIndexTemplate.ManifestDescriptorTemplate.Platform getPlatform()
-
-