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