| Package | Description |
|---|---|
| com.google.cloud.tools.jib.configuration |
| Modifier and Type | Method and Description |
|---|---|
static DockerHealthCheck.Builder |
DockerHealthCheck.fromCommand(List<String> command)
Creates a new
DockerHealthCheck.Builder with the specified command. |
DockerHealthCheck.Builder |
DockerHealthCheck.Builder.setInterval(Duration interval)
Sets the time between healthchecks.
|
DockerHealthCheck.Builder |
DockerHealthCheck.Builder.setRetries(int retries)
Sets the number of times to retry the healthcheck before the container is considered to be
unhealthy.
|
DockerHealthCheck.Builder |
DockerHealthCheck.Builder.setStartPeriod(Duration startPeriod)
Sets the initialization time to wait before using healthchecks.
|
DockerHealthCheck.Builder |
DockerHealthCheck.Builder.setTimeout(Duration timeout)
Sets the time until a healthcheck is considered hung.
|
Copyright © 2019. All rights reserved.