public class DockerCommandBuilder extends Object implements CommandBuilder
Modifier and Type | Field and Description |
---|---|
static String |
DOCKER_CONTAINER_NAME_KEY
Name of the deployment property used to specify the container name pattern to use.
|
Constructor and Description |
---|
DockerCommandBuilder() |
Modifier and Type | Method and Description |
---|---|
String[] |
buildExecutionCommand(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request,
Map<String,String> appInstanceEnv,
Map<String,String> appProperties,
Optional<Integer> appInstanceNumber)
Builds the execution command for an application.
|
public static final String DOCKER_CONTAINER_NAME_KEY
public String[] buildExecutionCommand(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request, Map<String,String> appInstanceEnv, Map<String,String> appProperties, Optional<Integer> appInstanceNumber)
CommandBuilder
buildExecutionCommand
in interface CommandBuilder
request
- the request for the application to executeappInstanceEnv
- the env vars tha might be needed when building the execution commandappProperties
- the app properties to use when building the execution commandCopyright © 2018 Pivotal Software, Inc.. All rights reserved.