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 TarImage
public static TarImage.Builder named(String imageReference) throws InvalidImageReferenceException
imageReference
- the image referenceTarImage.Builder
to finish constructing a new TarImage
InvalidImageReferenceException
- if imageReference
is not a valid image referenceCopyright © 2018. All rights reserved.