| Modifier and Type | Method and Description |
|---|---|
static Blob |
Blobs.compress(Blob blob)
Gets a
Blob that is blob compressed. |
static Blob |
Blobs.from(InputStream inputStream) |
static Blob |
Blobs.from(JsonTemplate template) |
static Blob |
Blobs.from(Path file) |
static Blob |
Blobs.from(String content)
Creates a
StringBlob with UTF-8 encoding. |
static Blob |
Blobs.from(WritableContents writable) |
| Modifier and Type | Method and Description |
|---|---|
static Blob |
Blobs.compress(Blob blob)
Gets a
Blob that is blob compressed. |
static byte[] |
Blobs.writeToByteArray(Blob blob)
Writes the BLOB to a byte array.
|
static String |
Blobs.writeToString(Blob blob)
Writes the BLOB to a string with UTF-8 decoding.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
CachedLayer.getBlob() |
| Modifier and Type | Method and Description |
|---|---|
CachedLayer.Builder |
CachedLayer.Builder.setLayerBlob(Blob layerBlob) |
CachedLayer |
Cache.writeCompressedLayer(Blob compressedLayerBlob)
Saves a cache entry with a compressed layer
Blob. |
CachedLayer |
Cache.writeUncompressedLayer(Blob uncompressedLayerBlob,
com.google.common.collect.ImmutableList<LayerEntry> layerEntries)
Saves a cache entry with an uncompressed layer
Blob and an additional selector digest. |
| Constructor and Description |
|---|
BlobHttpContent(Blob blob,
String contentType) |
BlobHttpContent(Blob blob,
String contentType,
Consumer<Long> writtenByteCountListener) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
ReproducibleLayerBuilder.build()
Builds and returns the layer
Blob. |
Blob |
Layer.getBlob() |
Blob |
ReferenceLayer.getBlob() |
Blob |
ReferenceNoDiffIdLayer.getBlob() |
Blob |
DigestOnlyLayer.getBlob() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
RegistryClient.pullBlob(DescriptorDigest blobDigest,
Consumer<Long> blobSizeListener,
Consumer<Long> writtenByteCountListener)
Gets the BLOB referenced by
blobDigest. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RegistryClient.pushBlob(DescriptorDigest blobDigest,
Blob blob,
String sourceRepository,
Consumer<Long> writtenByteCountListener)
Pushes the BLOB.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TarStreamBuilder.addBlobEntry(Blob blob,
long size,
String name)
Adds a blob to the archive.
|
Copyright © 2019. All rights reserved.