public interface DockerCompose
Modifier and Type | Method and Description |
---|---|
void |
build() |
String |
config() |
void |
down() |
String |
exec(DockerComposeExecOption dockerComposeExecOption,
String containerName,
DockerComposeExecArgument dockerComposeExecArgument) |
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) |
static com.github.zafarkhaja.semver.Version |
version() |
boolean |
writeLogs(String container,
OutputStream output) |
static com.github.zafarkhaja.semver.Version version() throws IOException, InterruptedException
IOException
InterruptedException
void pull() throws IOException, InterruptedException
IOException
InterruptedException
void build() throws IOException, InterruptedException
IOException
InterruptedException
void up() throws IOException, InterruptedException
IOException
InterruptedException
void down() throws IOException, InterruptedException
IOException
InterruptedException
void kill() throws IOException, InterruptedException
IOException
InterruptedException
void rm() throws IOException, InterruptedException
IOException
InterruptedException
void up(Container container) throws IOException, InterruptedException
IOException
InterruptedException
void start(Container container) throws IOException, InterruptedException
IOException
InterruptedException
void stop(Container container) throws IOException, InterruptedException
IOException
InterruptedException
void kill(Container container) throws IOException, InterruptedException
IOException
InterruptedException
String exec(DockerComposeExecOption dockerComposeExecOption, String containerName, DockerComposeExecArgument dockerComposeExecArgument) throws IOException, InterruptedException
IOException
InterruptedException
String run(DockerComposeRunOption dockerComposeRunOption, String containerName, DockerComposeRunArgument dockerComposeRunArgument) throws IOException, InterruptedException
IOException
InterruptedException
List<ContainerName> ps() throws IOException, InterruptedException
IOException
InterruptedException
Optional<String> id(Container container) throws IOException, InterruptedException
IOException
InterruptedException
String config() throws IOException, InterruptedException
IOException
InterruptedException
List<String> services() throws IOException, InterruptedException
IOException
InterruptedException
boolean writeLogs(String container, OutputStream output) throws IOException
IOException
Ports ports(String service) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.