Modifier and Type | Method and Description |
---|---|
ImageConfiguration |
ImageConfiguration.Builder.build() |
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,
MavenBuildContext params,
boolean noCache,
Map<String,String> buildArgs)
Build an image
|
String |
RunService.createAndStartContainer(ImageConfiguration imageConfig,
PortMapping portMapping,
GavLabel gavLabel,
Properties properties,
File baseDir,
String defaultContainerNamePattern,
Date buildTimestamp)
Create and start a container with the given image configuration.
|
File |
ArchiveService.createDockerBuildArchive(ImageConfiguration imageConfig,
MavenBuildContext params)
Create the tar file container the source for building an image.
|
File |
ArchiveService.createDockerBuildArchive(ImageConfiguration imageConfig,
MavenBuildContext 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,
MavenBuildContext mojoParameters)
Get a mapping of original to destination files which a covered by an assembly.
|
void |
ContainerTracker.registerContainer(String containerId,
ImageConfiguration imageConfig,
GavLabel gavLabel)
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 |
---|
Builder(ImageConfiguration that) |
ImageWatcher(ImageConfiguration imageConfig,
WatchService.WatchContext watchContext,
String imageId,
String containerIdRef) |
Modifier and Type | Method and Description |
---|---|
LogOutputSpec |
LogOutputSpecFactory.createSpec(String containerId,
ImageConfiguration imageConfiguration) |
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(KitLogger 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,
KitLogger log)
Initialize and validate the configuration.
|
static List<ImageConfiguration> |
ConfigHelper.resolveImages(KitLogger 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) |
Modifier and Type | Method and Description |
---|---|
List<ImageConfiguration> |
ImageConfigResolver.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
Resolve an image configuration.
|
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 |
Modifier and Type | Method and Description |
---|---|
List<ImageConfiguration> |
ImageConfigResolver.resolve(ImageConfiguration unresolvedConfig,
org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session)
Resolve an image configuration.
|
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 |
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 |
---|---|
static String |
ContainerNamingUtil.formatContainerName(ImageConfiguration image,
String defaultContainerNamePattern,
Date buildTimestamp,
Collection<Container> existingContainers) |
static Collection<Container> |
ContainerNamingUtil.getContainersToStop(ImageConfiguration image,
String defaultContainerNamePattern,
Date buildTimestamp,
Collection<Container> containers)
Keep only the entry with the higest index if an indexed naming scheme for container has been chosen.
|
StartContainerExecutor.Builder |
StartContainerExecutor.Builder.imageConfig(ImageConfiguration imageConfig) |
Copyright © 2019. All rights reserved.