public class RetryingDockerCompose extends Object
| Constructor and Description |
|---|
RetryingDockerCompose(int retryAttempts,
DockerCompose dockerCompose) |
RetryingDockerCompose(Retryer retryer,
DockerCompose dockerCompose) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
String |
config() |
void |
down() |
String |
exec(DockerComposeExecOption dockerComposeExecOption,
String containerName,
DockerComposeExecArgument dockerComposeExecArgument) |
protected DockerCompose |
getDockerCompose() |
Optional<String> |
id(Container container) |
void |
kill() |
void |
kill(Container container) |
Ports |
ports(String service) |
List<ContainerName> |
ps() |
void |
pull() |
void |
rm() |
String |
run(DockerComposeRunOption dockerComposeRunOption,
String containerName,
DockerComposeRunArgument dockerComposeRunArgument) |
List<String> |
services() |
void |
start(Container container) |
void |
stop(Container container) |
void |
up() |
void |
up(Container container) |
boolean |
writeLogs(String container,
OutputStream output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitversionpublic RetryingDockerCompose(int retryAttempts,
DockerCompose dockerCompose)
public RetryingDockerCompose(Retryer retryer, DockerCompose dockerCompose)
public void up()
throws IOException,
InterruptedException
up in interface DockerComposeIOExceptionInterruptedExceptionpublic List<ContainerName> ps() throws IOException, InterruptedException
ps in interface DockerComposeIOExceptionInterruptedExceptionpublic void pull()
throws IOException,
InterruptedException
pull in interface DockerComposeIOExceptionInterruptedExceptionpublic void build()
throws IOException,
InterruptedException
build in interface DockerComposeIOExceptionInterruptedExceptionpublic void down()
throws IOException,
InterruptedException
down in interface DockerComposeIOExceptionInterruptedExceptionpublic void kill()
throws IOException,
InterruptedException
kill in interface DockerComposeIOExceptionInterruptedExceptionpublic void rm()
throws IOException,
InterruptedException
rm in interface DockerComposeIOExceptionInterruptedExceptionpublic void up(Container container) throws IOException, InterruptedException
up in interface DockerComposeIOExceptionInterruptedExceptionpublic void start(Container container) throws IOException, InterruptedException
start in interface DockerComposeIOExceptionInterruptedExceptionpublic void stop(Container container) throws IOException, InterruptedException
stop in interface DockerComposeIOExceptionInterruptedExceptionpublic void kill(Container container) throws IOException, InterruptedException
kill in interface DockerComposeIOExceptionInterruptedExceptionpublic String exec(DockerComposeExecOption dockerComposeExecOption, String containerName, DockerComposeExecArgument dockerComposeExecArgument) throws IOException, InterruptedException
exec in interface DockerComposeIOExceptionInterruptedExceptionpublic String run(DockerComposeRunOption dockerComposeRunOption, String containerName, DockerComposeRunArgument dockerComposeRunArgument) throws IOException, InterruptedException
run in interface DockerComposeIOExceptionInterruptedExceptionpublic Optional<String> id(Container container) throws IOException, InterruptedException
id in interface DockerComposeIOExceptionInterruptedExceptionpublic String config() throws IOException, InterruptedException
config in interface DockerComposeIOExceptionInterruptedExceptionpublic List<String> services() throws IOException, InterruptedException
services in interface DockerComposeIOExceptionInterruptedExceptionpublic boolean writeLogs(String container, OutputStream output) throws IOException
writeLogs in interface DockerComposeIOExceptionpublic Ports ports(String service) throws IOException, InterruptedException
ports in interface DockerComposeIOExceptionInterruptedExceptionprotected final DockerCompose getDockerCompose()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.