public interface BuildableManifestTemplate extends ManifestTemplate
Docker V2.2 format,
OCI format| Modifier and Type | Interface and Description |
|---|---|
static class |
BuildableManifestTemplate.ContentDescriptorTemplate
Template for inner JSON object representing content descriptor for a layer or container
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayer(long size,
DescriptorDigest digest)
Adds a layer to the manifest.
|
BuildableManifestTemplate.ContentDescriptorTemplate |
getContainerConfiguration() |
List<BuildableManifestTemplate.ContentDescriptorTemplate> |
getLayers() |
String |
getManifestMediaType() |
void |
setContainerConfiguration(long size,
DescriptorDigest digest)
Sets the content descriptor of the container configuration.
|
getSchemaVersionString getManifestMediaType()
@Nullable BuildableManifestTemplate.ContentDescriptorTemplate getContainerConfiguration()
List<BuildableManifestTemplate.ContentDescriptorTemplate> getLayers()
void setContainerConfiguration(long size,
DescriptorDigest digest)
size - the size of the container configuration.digest - the container configuration content descriptor digest.void addLayer(long size,
DescriptorDigest digest)
size - the size of the layer.digest - the layer descriptor digest.Copyright © 2019. All rights reserved.