public interface CopyArchiveFromContainerCmd extends SyncDockerCmd<java.io.InputStream>
Modifier and Type | Interface and Description |
---|---|
static interface |
CopyArchiveFromContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
exec()
Its the responsibility of the caller to consume and/or close the
InputStream to prevent connection leaks. |
java.lang.String |
getContainerId() |
java.lang.String |
getHostPath() |
java.lang.String |
getResource() |
CopyArchiveFromContainerCmd |
withContainerId(java.lang.String containerId) |
CopyArchiveFromContainerCmd |
withHostPath(java.lang.String hostPath) |
CopyArchiveFromContainerCmd |
withResource(java.lang.String resource) |
@CheckForNull java.lang.String getContainerId()
@CheckForNull java.lang.String getHostPath()
@CheckForNull java.lang.String getResource()
CopyArchiveFromContainerCmd withContainerId(@Nonnull java.lang.String containerId)
CopyArchiveFromContainerCmd withHostPath(java.lang.String hostPath)
CopyArchiveFromContainerCmd withResource(@Nonnull java.lang.String resource)
java.io.InputStream exec() throws NotFoundException
InputStream
to prevent connection leaks.exec
in interface SyncDockerCmd<java.io.InputStream>
NotFoundException
- No such containerCopyright © 2018. All Rights Reserved.