public interface SaveImageCmd extends SyncDockerCmd<InputStream>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SaveImageCmd.Exec |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
exec()
Its the responsibility of the caller to consume and/or close the
InputStream to prevent connection leaks. |
String |
getName() |
String |
getTag() |
SaveImageCmd |
withName(String name) |
SaveImageCmd |
withTag(String tag) |
@CheckForNull String getName()
@CheckForNull String getTag()
SaveImageCmd withName(@Nonnull String name)
name - The name, e.g. "alexec/busybox" or just "busybox" if you want to default. Not null.SaveImageCmd withTag(String tag)
tag - The image's tag. Not null.InputStream exec() throws NotFoundException
InputStream to prevent connection leaks.exec in interface SyncDockerCmd<InputStream>NotFoundException - No such imageCopyright © 2017. All Rights Reserved.