public interface AttachContainerCmd extends AsyncDockerCmd<AttachContainerCmd,Frame>
Modifier and Type | Interface and Description |
---|---|
static interface |
AttachContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContainerId() |
java.io.InputStream |
getStdin() |
java.lang.Boolean |
hasFollowStreamEnabled() |
java.lang.Boolean |
hasLogsEnabled() |
java.lang.Boolean |
hasStderrEnabled() |
java.lang.Boolean |
hasStdoutEnabled() |
java.lang.Boolean |
hasTimestampsEnabled() |
AttachContainerCmd |
withContainerId(java.lang.String containerId) |
AttachContainerCmd |
withFollowStream(java.lang.Boolean followStream)
Following the stream means the resulting
InputStream returned by #exec() reads infinitely. |
AttachContainerCmd |
withLogs(java.lang.Boolean logs) |
AttachContainerCmd |
withStdErr(java.lang.Boolean stderr) |
AttachContainerCmd |
withStdIn(java.io.InputStream stdin) |
AttachContainerCmd |
withStdOut(java.lang.Boolean stdout) |
AttachContainerCmd |
withTimestamps(java.lang.Boolean timestamps) |
exec
@CheckForNull java.lang.String getContainerId()
@CheckForNull java.lang.Boolean hasLogsEnabled()
@CheckForNull java.lang.Boolean hasFollowStreamEnabled()
@CheckForNull java.lang.Boolean hasTimestampsEnabled()
@CheckForNull java.lang.Boolean hasStdoutEnabled()
@CheckForNull java.lang.Boolean hasStderrEnabled()
@CheckForNull java.io.InputStream getStdin()
AttachContainerCmd withContainerId(@Nonnull java.lang.String containerId)
AttachContainerCmd withFollowStream(java.lang.Boolean followStream)
InputStream
returned by #exec()
reads infinitely. So a
InputStream.read()
MAY BLOCK FOREVER as long as no data is streamed from the docker host to DockerClient
!AttachContainerCmd withTimestamps(java.lang.Boolean timestamps)
AttachContainerCmd withStdOut(java.lang.Boolean stdout)
AttachContainerCmd withStdErr(java.lang.Boolean stderr)
AttachContainerCmd withStdIn(java.io.InputStream stdin)
AttachContainerCmd withLogs(java.lang.Boolean logs)
Copyright © 2018. All Rights Reserved.