| Package | Description |
|---|---|
| com.atlassian.bamboo.docker | |
| com.atlassian.bamboo.process |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Integer |
DockerContainerServiceImpl.getHostPort(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Integer containerPort,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
@Nullable Integer |
DockerContainerService.getHostPort(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Integer containerPort,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Gets the host port mapped to the given container port.
|
boolean |
DockerContainerServiceImpl.isRunning(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
boolean |
DockerContainerService.isRunning(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Checks if a container with the given name is running.
|
void |
DockerContainerServiceImpl.remove(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
void |
DockerContainerService.remove(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Removes the container with the given name.
|
void |
DockerContainerServiceImpl.run(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String imageName,
@NotNull RunConfig runConfig,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
void |
DockerContainerService.run(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String imageName,
@NotNull RunConfig runConfig,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Start a Docker container for the image provided.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessContextImpl |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext |
ProcessContextFactoryImpl.forCommonContext(@NotNull CommonContext commonContext) |
ProcessContext |
ProcessContextFactory.forCommonContext(@NotNull CommonContext commonContext)
Generate
ProcessContext for a process executed out of scope of any task. |
ProcessContext |
ProcessContextFactoryImpl.forTaskContext(@NotNull CommonTaskContext taskContext) |
ProcessContext |
ProcessContextFactory.forTaskContext(@NotNull CommonTaskContext taskContext)
Generate
ProcessContext for a task. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.createExternalProcess(@NotNull ProcessContext processContext,
@NotNull ExternalProcessBuilder processBuilder) |
@NotNull com.atlassian.utils.process.ExternalProcess |
ProcessService.createExternalProcess(@NotNull ProcessContext processContext,
@NotNull ExternalProcessBuilder processBuilder)
Create a new
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
@NotNull com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.executeExternalProcess(@NotNull ProcessContext processContext,
@NotNull ExternalProcessBuilder processBuilder) |
@NotNull com.atlassian.utils.process.ExternalProcess |
ProcessService.executeExternalProcess(@NotNull ProcessContext processContext,
@NotNull ExternalProcessBuilder processBuilder)
Create and execute
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.