| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
AbstractDockerMojo.customizeConfig(List<ImageConfiguration> imageConfigs) |
protected List<ImageConfiguration> |
AbstractDockerMojo.getResolvedImages()
Get all images to use.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BuildMojo.buildAndTag(ServiceHub hub,
ImageConfiguration imageConfig) |
protected boolean |
StartMojo.showLogs(ImageConfiguration imageConfig) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
AbstractDockerMojo.customizeConfig(List<ImageConfiguration> imageConfigs) |
| Modifier and Type | Method and Description |
|---|---|
ImageConfiguration |
ImageConfiguration.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
ConfigHelper.Customizer.customizeConfig(List<ImageConfiguration> configs) |
List<ImageConfiguration> |
ConfigHelper.Resolver.resolve(ImageConfiguration image) |
static List<ImageConfiguration> |
ConfigHelper.resolveImages(Logger logger,
List<ImageConfiguration> images,
ConfigHelper.Resolver imageResolver,
String imageNameFilter,
ConfigHelper.Customizer imageCustomizer)
Resolve image with an external image resolver
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConfigHelper.matchesConfiguredImages(String imageList,
ImageConfiguration imageConfig) |
List<ImageConfiguration> |
ConfigHelper.Resolver.resolve(ImageConfiguration image) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
ConfigHelper.Customizer.customizeConfig(List<ImageConfiguration> configs) |
static String |
ConfigHelper.initAndValidate(List<ImageConfiguration> images,
String apiVersion,
ConfigHelper.NameFormatter nameFormatter,
Logger log)
Initialize and validate the configuration.
|
static List<ImageConfiguration> |
ConfigHelper.resolveImages(Logger logger,
List<ImageConfiguration> images,
ConfigHelper.Resolver imageResolver,
String imageNameFilter,
ConfigHelper.Customizer imageCustomizer)
Resolve image with an external image resolver
|
static void |
ConfigHelper.validateExternalPropertyActivation(org.apache.maven.project.MavenProject project,
List<ImageConfiguration> images) |
| Constructor and Description |
|---|
Builder(ImageConfiguration that) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
ExternalConfigHandler.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
For the given plugin configuration (which also contains the type) extract one or more
ImageConfiguration objects describing the image to manage |
List<ImageConfiguration> |
ImageConfigResolver.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
Resolve an image configuration.
|
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
ExternalConfigHandler.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
For the given plugin configuration (which also contains the type) extract one or more
ImageConfiguration objects describing the image to manage |
List<ImageConfiguration> |
ImageConfigResolver.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
Resolve an image configuration.
|
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
DockerComposeConfigHandler.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
DockerComposeConfigHandler.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
PropertyConfigHandler.resolve(ImageConfiguration fromConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session) |
| Modifier and Type | Method and Description |
|---|---|
List<ImageConfiguration> |
PropertyConfigHandler.resolve(ImageConfiguration fromConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session) |
| Modifier and Type | Method and Description |
|---|---|
LogOutputSpec |
LogOutputSpecFactory.createSpec(String containerId,
ImageConfiguration imageConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
ImageConfiguration |
WatchService.ImageWatcher.getImageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Task<ImageConfiguration> |
WatchService.WatchContext.getImageCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildService.buildImage(ImageConfiguration imageConfig,
ImagePullManager imagePullManager,
BuildService.BuildContext buildContext)
Pull the base image if needed and run the build.
|
protected void |
BuildService.buildImage(ImageConfiguration imageConfig,
MojoParameters params,
boolean noCache,
Map<String,String> buildArgs)
Build an image
|
String |
RunService.createAndStartContainer(ImageConfiguration imageConfig,
PortMapping portMapping,
PomLabel pomLabel,
Properties mavenProps,
File baseDir)
Create and start a container with the given image configuration.
|
File |
ArchiveService.createDockerBuildArchive(ImageConfiguration imageConfig,
MojoParameters params)
Create the tar file container the source for building an image.
|
File |
ArchiveService.createDockerBuildArchive(ImageConfiguration imageConfig,
MojoParameters params,
ArchiverCustomizer customizer)
Create the tar file container the source for building an image.
|
String |
RunService.execInContainer(String containerId,
String command,
ImageConfiguration imageConfiguration)
Create and start a Exec container with the given image configuration.
|
AssemblyFiles |
ArchiveService.getAssemblyFiles(ImageConfiguration imageConfig,
MojoParameters mojoParameters)
Get a mapping of original to destination files which a covered by an assembly.
|
void |
ContainerTracker.registerContainer(String containerId,
ImageConfiguration imageConfig,
PomLabel pomLabel)
Register a started container to this tracker
|
void |
RunService.stopContainer(String containerId,
ImageConfiguration imageConfig,
boolean keepContainer,
boolean removeVolumes)
Stop a container immediately by id.
|
void |
BuildService.tagImage(String imageName,
ImageConfiguration imageConfig) |
void |
WaitService.wait(ImageConfiguration imageConfig,
Properties projectProperties,
String containerId) |
| Modifier and Type | Method and Description |
|---|---|
List<StartOrderResolver.Resolvable> |
RunService.getImagesConfigsInOrder(QueryService queryService,
List<ImageConfiguration> images)
Get the proper order for images to start
|
WatchService.WatchContext.Builder |
WatchService.WatchContext.Builder.imageCustomizer(Task<ImageConfiguration> imageCustomizer) |
void |
RegistryService.pushImages(Collection<ImageConfiguration> imageConfigs,
int retries,
RegistryService.RegistryConfig registryConfig,
boolean skipTag)
Push a set of images to a registry
|
void |
WatchService.watch(WatchService.WatchContext context,
BuildService.BuildContext buildContext,
List<ImageConfiguration> images) |
| Constructor and Description |
|---|
ImageWatcher(ImageConfiguration imageConfig,
WatchService.WatchContext watchContext,
String imageId,
String containerIdRef) |
Copyright © 2018. All rights reserved.