public interface AttachContainerCmd extends DockerCmd<InputStream>
Modifier and Type | Interface and Description |
---|---|
static interface |
AttachContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
InputStream |
exec() |
String |
getContainerId() |
boolean |
hasFollowStreamEnabled() |
boolean |
hasLogsEnabled() |
boolean |
hasStderrEnabled() |
boolean |
hasStdoutEnabled() |
boolean |
hasTimestampsEnabled() |
AttachContainerCmd |
withContainerId(String containerId) |
AttachContainerCmd |
withFollowStream() |
AttachContainerCmd |
withFollowStream(boolean followStream) |
AttachContainerCmd |
withLogs() |
AttachContainerCmd |
withLogs(boolean logs) |
AttachContainerCmd |
withStdErr() |
AttachContainerCmd |
withStdErr(boolean stderr) |
AttachContainerCmd |
withStdOut() |
AttachContainerCmd |
withStdOut(boolean stdout) |
AttachContainerCmd |
withTimestamps(boolean timestamps) |
String getContainerId()
boolean hasLogsEnabled()
boolean hasFollowStreamEnabled()
boolean hasTimestampsEnabled()
boolean hasStdoutEnabled()
boolean hasStderrEnabled()
AttachContainerCmd withContainerId(String containerId)
AttachContainerCmd withFollowStream()
AttachContainerCmd withFollowStream(boolean followStream)
AttachContainerCmd withTimestamps(boolean timestamps)
AttachContainerCmd withStdOut()
AttachContainerCmd withStdOut(boolean stdout)
AttachContainerCmd withStdErr()
AttachContainerCmd withStdErr(boolean stderr)
AttachContainerCmd withLogs(boolean logs)
AttachContainerCmd withLogs()
InputStream exec() throws NotFoundException
exec
in interface DockerCmd<InputStream>
NotFoundException
- No such containerCopyright © 2015. All Rights Reserved.