public class TarImage extends Object
Usage example:
TarImage tarImage = TarImage.named("myimage")
.saveTo(Paths.get("image.tar"));
| Modifier and Type | Class and Description |
|---|---|
static class |
TarImage.Builder
Finishes constructing a
TarImage. |
| Modifier and Type | Method and Description |
|---|---|
static TarImage.Builder |
named(ImageReference imageReference)
Configures the output tarball archive with an image reference.
|
static TarImage.Builder |
named(String imageReference)
Configures the output tarball archive with an image reference to set as its tag.
|
public static TarImage.Builder named(ImageReference imageReference)
imageReference - the image referenceTarImage.Builder to finish constructing a new TarImagepublic static TarImage.Builder named(String imageReference) throws InvalidImageReferenceException
imageReference - the image referenceTarImage.Builder to finish constructing a new TarImageInvalidImageReferenceException - if imageReference is not a valid image referenceCopyright © 2019. All rights reserved.