public interface CopyArchiveFromContainerCmd extends SyncDockerCmd<InputStream>
Modifier and Type | Interface and Description |
---|---|
static interface |
CopyArchiveFromContainerCmd.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 |
getContainerId() |
String |
getHostPath() |
String |
getResource() |
CopyArchiveFromContainerCmd |
withContainerId(String containerId) |
CopyArchiveFromContainerCmd |
withHostPath(String hostPath) |
CopyArchiveFromContainerCmd |
withResource(String resource) |
@CheckForNull String getContainerId()
@CheckForNull String getHostPath()
@CheckForNull String getResource()
CopyArchiveFromContainerCmd withContainerId(@Nonnull String containerId)
CopyArchiveFromContainerCmd withHostPath(String hostPath)
CopyArchiveFromContainerCmd withResource(@Nonnull String resource)
InputStream exec() throws NotFoundException
InputStream
to prevent connection leaks.exec
in interface SyncDockerCmd<InputStream>
NotFoundException
- No such containerCopyright © 2017. All Rights Reserved.