| Package | Description |
|---|---|
| com.spotify.docker.client |
| Modifier and Type | Method and Description |
|---|---|
static DockerClient.LogsParam |
DockerClient.LogsParam.create(String name,
String value)
Create a custom parameter.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.follow()
Return stream.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.follow(boolean follow)
Return stream.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.since(Integer timestamp)
Filter logs and only output entries since given Unix timestamp.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.stderr()
Show stderr log.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.stderr(boolean stderr)
Show stderr log.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.stdout()
Show stdout log.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.stdout(boolean stdout)
Show stdout log.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.tail(Integer lines)
Output specified number of lines at the end of logs.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.timestamps()
Print timestamp for every log line.
|
static DockerClient.LogsParam |
DockerClient.LogsParam.timestamps(boolean timestamps)
Print timestamp for every log line.
|
| Modifier and Type | Method and Description |
|---|---|
LogStream |
DockerClient.logs(String containerId,
DockerClient.LogsParam... params)
Get docker container logs.
|
LogStream |
DefaultDockerClient.logs(String containerId,
DockerClient.LogsParam... params) |
Copyright © 2015. All rights reserved.