public interface LogSwarmObjectCmd extends AsyncDockerCmd<LogSwarmObjectCmd,Frame>
Modifier and Type | Interface and Description |
---|---|
static interface |
LogSwarmObjectCmd.Exec |
Modifier and Type | Method and Description |
---|---|
<T extends ResultCallback<Frame>> |
exec(T resultCallback) |
Boolean |
getDetails() |
Boolean |
getFollow() |
String |
getId() |
Integer |
getSince() |
Boolean |
getStderr() |
Boolean |
getStdout() |
Integer |
getTail() |
Boolean |
getTimestamps() |
LogSwarmObjectCmd |
withDetails(Boolean details) |
LogSwarmObjectCmd |
withFollow(Boolean follow) |
LogSwarmObjectCmd |
withId(String id) |
LogSwarmObjectCmd |
withSince(Integer since) |
LogSwarmObjectCmd |
withStderr(Boolean stderr) |
LogSwarmObjectCmd |
withStdout(Boolean stdout) |
LogSwarmObjectCmd |
withTail(Integer tail) |
LogSwarmObjectCmd |
withTimestamps(Boolean timestamps) |
start
LogSwarmObjectCmd withId(@Nonnull String id)
id
- ID or name of the serviceLogSwarmObjectCmd withFollow(Boolean follow)
follow
- Return the logs as a raw stream.LogSwarmObjectCmd withTimestamps(Boolean timestamps)
timestamps
- Add timestamps to every log lineLogSwarmObjectCmd withStdout(Boolean stdout)
stdout
- Return logs from stdoutLogSwarmObjectCmd withStderr(Boolean stderr)
stderr
- Return logs from stderrLogSwarmObjectCmd withTail(Integer tail)
tail
- only return this number of log lines from the end of the logs.LogSwarmObjectCmd withSince(Integer since)
since
- Only return logs since this time, as a UNIX timestampLogSwarmObjectCmd withDetails(Boolean details)
details
- Show service context and extra details provided to logs.@CheckForNull String getId()
@CheckForNull Integer getTail()
@CheckForNull Boolean getFollow()
@CheckForNull Boolean getTimestamps()
@CheckForNull Boolean getStdout()
@CheckForNull Boolean getStderr()
@CheckForNull Integer getSince()
@CheckForNull Boolean getDetails()
<T extends ResultCallback<Frame>> T exec(T resultCallback)
exec
in interface AsyncDockerCmd<LogSwarmObjectCmd,Frame>
NotFoundException
- no such serviceCopyright © 2021. All rights reserved.