| 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) |
| 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 |
JibBuildService.build(ImageConfiguration imageConfig,
RegistryService.RegistryConfig registryConfig) |
File |
BuildService.buildArchive(ImageConfiguration imageConfiguration,
BuildService.BuildContext buildContext,
String archivePath)
Create docker archive for building image
|
void |
BuildService.buildImage(ImageConfiguration imageConfig,
ImagePullManager imagePullManager,
BuildService.BuildContext buildContext,
File buildArchiveFile)
Pull the base image if needed and run the build.
|
protected void |
BuildService.buildImage(ImageConfiguration imageConfig,
MojoParameters params,
boolean noCache,
boolean squash,
Map<String,String> buildArgs,
File dockerArchive)
Build an image
|
void |
BuildService.copyDockerArchive(ImageConfiguration imageConfiguration,
File dockerArchive,
String archivePath) |
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,
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,
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(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 |
JibBuildService.push(Collection<ImageConfiguration> imageConfigs,
int retries,
RegistryService.RegistryConfig registryConfig,
boolean skipTag) |
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) |
| Modifier and Type | Method and Description |
|---|---|
StartContainerExecutor.Builder |
StartContainerExecutor.Builder.imageConfig(ImageConfiguration imageConfig) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.cloud.tools.jib.api.JibContainerBuilder |
JibServiceUtil.containerFromImageConfiguration(ImageConfiguration imageConfiguration,
com.google.cloud.tools.jib.api.Credential pullRegistryCredential) |
static String |
ContainerNamingUtil.formatContainerName(ImageConfiguration image,
String defaultContainerNamePattern,
Date buildTimestamp,
Collection<Container> existingContainers) |
static String |
JibServiceUtil.getBaseImage(ImageConfiguration imageConfiguration) |
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.
|
static String |
JibServiceUtil.getFullImageName(ImageConfiguration imageConfiguration,
String tag) |
static void |
JibServiceUtil.jibPush(ImageConfiguration imageConfiguration,
com.google.cloud.tools.jib.api.Credential pushCredentials,
File tarArchive,
Logger log)
Push Image to registry using JIB
|
Copyright © 2020. All rights reserved.