| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
Blob.writeTo(OutputStream outputStream)
Writes the BLOB to an
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
CachedLayer.getBlobDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
CountingDigestOutputStream.computeDigest()
Computes the hash and returns it along with the size of the bytes written to compute the hash.
|
static BlobDescriptor |
Digests.computeDigest(InputStream inStream) |
static BlobDescriptor |
Digests.computeDigest(InputStream inStream,
OutputStream outStream)
Computes the digest by consuming the contents of an
InputStream while copying it to an
OutputStream. |
static BlobDescriptor |
Digests.computeDigest(JsonTemplate template) |
static BlobDescriptor |
Digests.computeDigest(JsonTemplate template,
OutputStream outStream) |
static BlobDescriptor |
Digests.computeDigest(WritableContents contents)
Computes the digest by consuming the contents.
|
static BlobDescriptor |
Digests.computeDigest(WritableContents contents,
OutputStream outStream)
Computes the digest by consuming the contents while copying it to an
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
Layer.getBlobDescriptor() |
BlobDescriptor |
ReferenceLayer.getBlobDescriptor() |
BlobDescriptor |
ReferenceNoDiffIdLayer.getBlobDescriptor() |
BlobDescriptor |
DigestOnlyLayer.getBlobDescriptor() |
| Constructor and Description |
|---|
ReferenceLayer(BlobDescriptor blobDescriptor,
DescriptorDigest diffId)
Instantiate with a
BlobDescriptor and diff ID. |
ReferenceNoDiffIdLayer(BlobDescriptor blobDescriptor)
Instantiate with a
BlobDescriptor and no diff ID. |
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildableManifestTemplate> |
ImageToJsonTranslator.getManifestTemplate(Class<T> manifestTemplateClass,
BlobDescriptor containerConfigurationBlobDescriptor)
Gets the manifest as a JSON template.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<BlobDescriptor> |
RegistryClient.checkBlob(DescriptorDigest blobDigest) |
Copyright © 2019. All rights reserved.