| Modifier and Type | Method and Description |
|---|---|
static Blob |
Blobs.from(BlobWriter writer) |
static Blob |
Blobs.from(InputStream inputStream) |
static Blob |
Blobs.from(Path file) |
static Blob |
Blobs.from(String content)
Creates a
StringBlob with UTF-8 encoding. |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Blobs.writeToByteArray(Blob blob)
Writes the BLOB to a byte array.
|
static BlobDescriptor |
Blobs.writeToFileWithLock(Blob blob,
Path blobFile)
Writes the BLOB to a file with an exclusive lock.
|
static String |
Blobs.writeToString(Blob blob)
Writes the BLOB to a string with UTF-8 decoding.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
Blob |
ImageToTarballTranslator.toTarballBlob(ImageReference imageReference) |
| Modifier and Type | Method and Description |
|---|---|
String |
DockerClient.load(Blob imageTarballBlob)
Loads an image tarball into the Docker daemon.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
Response.getBody() |
| Constructor and Description |
|---|
BlobHttpContent(Blob blob,
String contentType,
BlobProgressListener blobProgressListener) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
ReproducibleLayerBuilder.build()
Builds and returns the layer
Blob. |
Blob |
DigestOnlyLayer.getBlob() |
Blob |
Layer.getBlob() |
Blob |
ReferenceNoDiffIdLayer.getBlob() |
Blob |
ReferenceLayer.getBlob() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
ImageToJsonTranslator.getContainerConfigurationBlob()
Gets the container configuration as a
Blob. |
| Modifier and Type | Method and Description |
|---|---|
static Blob |
JsonTemplateMapper.toBlob(JsonTemplate template)
Convert a
JsonTemplate to a Blob of the JSON string. |
static Blob |
JsonTemplateMapper.toBlob(List<? extends JsonTemplate> templates)
Convert a list of
JsonTemplate to a Blob of the JSON string. |
| Modifier and Type | Method and Description |
|---|---|
Blob |
RegistryClient.pullBlob(DescriptorDigest blobDigest,
Consumer<Long> blobSizeConsumer,
BlobProgressListener blobProgressListener)
Gets the BLOB referenced by
blobDigest. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RegistryClient.pushBlob(DescriptorDigest blobDigest,
Blob blob,
String sourceRepository,
BlobProgressListener blobProgressListener)
Pushes the BLOB.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
TarStreamBuilder.toBlob() |
| 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.