| Modifier and Type | Method and Description |
|---|---|
DescriptorDigest |
BlobDescriptor.getDigest() |
| Constructor and Description |
|---|
BlobDescriptor(DescriptorDigest digest)
Initialize with just digest.
|
BlobDescriptor(long size,
DescriptorDigest digest) |
| Modifier and Type | Method and Description |
|---|---|
DescriptorDigest |
CachedLayer.getDiffId() |
| Modifier and Type | Method and Description |
|---|---|
CachedLayer |
CacheWriter.getCachedLayer(DescriptorDigest layerDigest,
com.google.common.io.CountingOutputStream countingOutputStream) |
CachedLayer |
CacheChecker.getLayer(DescriptorDigest layerDigest) |
com.google.common.io.CountingOutputStream |
CacheWriter.getLayerOutputStream(DescriptorDigest layerDigest) |
| Constructor and Description |
|---|
CachedLayer(Path contentFile,
BlobDescriptor blobDescriptor,
DescriptorDigest diffId)
Initializes the layer with its file-backed content BLOB, content descriptor (digest and size),
and diff ID.
|
| Modifier and Type | Method and Description |
|---|---|
DescriptorDigest |
CacheMetadataLayerObjectTemplate.getDiffId() |
DescriptorDigest |
CacheMetadataLayerObjectTemplate.getDigest() |
| Modifier and Type | Method and Description |
|---|---|
CacheMetadataLayerObjectTemplate |
CacheMetadataLayerObjectTemplate.setDiffId(DescriptorDigest diffId) |
CacheMetadataLayerObjectTemplate |
CacheMetadataLayerObjectTemplate.setDigest(DescriptorDigest digest) |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorDigest |
DescriptorDigest.fromDigest(String digest)
Creates a new instance from a valid digest string.
|
static DescriptorDigest |
DescriptorDigest.fromHash(String hash)
Creates a new instance from a valid hash string.
|
DescriptorDigest |
ReferenceLayer.getDiffId() |
DescriptorDigest |
Layer.getDiffId() |
DescriptorDigest |
ReferenceNoDiffIdLayer.getDiffId() |
DescriptorDigest |
DigestOnlyLayer.getDiffId() |
DescriptorDigest |
UnwrittenLayer.getDiffId() |
| Modifier and Type | Method and Description |
|---|---|
T |
ImageLayers.get(DescriptorDigest digest) |
boolean |
ImageLayers.has(DescriptorDigest digest) |
| Constructor and Description |
|---|
DigestOnlyLayer(DescriptorDigest digest)
Instantiate with a
DescriptorDigest. |
ReferenceLayer(BlobDescriptor blobDescriptor,
DescriptorDigest diffId)
Instantiate with a
BlobDescriptor and diff ID. |
| Modifier and Type | Method and Description |
|---|---|
DescriptorDigest |
DescriptorDigestDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext ignored) |
DescriptorDigest |
V22ManifestTemplate.getContainerConfigurationDigest() |
DescriptorDigest |
V22ManifestTemplate.getLayerDigest(int index) |
| Modifier and Type | Method and Description |
|---|---|
List<DescriptorDigest> |
V21ManifestTemplate.getLayerDigests() |
| Modifier and Type | Method and Description |
|---|---|
void |
V22ManifestTemplate.addLayer(long size,
DescriptorDigest digest) |
void |
ContainerConfigurationTemplate.addLayerDiffId(DescriptorDigest diffId) |
void |
DescriptorDigestSerializer.serialize(DescriptorDigest value,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider ignored) |
void |
V22ManifestTemplate.setContainerConfiguration(long size,
DescriptorDigest digest) |
| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
RegistryClient.checkBlob(DescriptorDigest blobDigest) |
Void |
RegistryClient.pullBlob(DescriptorDigest blobDigest,
OutputStream destinationOutputStream)
Downloads the BLOB to a file.
|
boolean |
RegistryClient.pushBlob(DescriptorDigest blobDigest,
Blob blob)
Pushes the BLOB, or skips if the BLOB already exists on the registry.
|
Copyright © 2018. All rights reserved.