public class ImageToTarballTranslator
extends java.lang.Object
Image to a tarball that can be loaded into Docker.| Constructor and Description |
|---|
ImageToTarballTranslator(Image<CachedLayer> image)
Instantiate with an
Image. |
| Modifier and Type | Method and Description |
|---|---|
Blob |
toTarballBlob(ImageReference imageReference) |
public ImageToTarballTranslator(Image<CachedLayer> image)
Image.image - the image to convert into a tarball.public Blob toTarballBlob(ImageReference imageReference) throws java.io.IOException
java.io.IOException