Uses of Class
io.fabric8.maven.docker.config.ImageConfiguration
-
-
Uses of ImageConfiguration in io.fabric8.maven.docker
Methods in io.fabric8.maven.docker that return types with arguments of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>AbstractDockerMojo. customizeConfig(List<ImageConfiguration> imageConfigs)protected List<ImageConfiguration>AbstractDockerMojo. getResolvedImages()Get all images to use.Methods in io.fabric8.maven.docker with parameters of type ImageConfiguration Modifier and Type Method Description protected voidBuildMojo. buildAndTag(ServiceHub hub, ImageConfiguration imageConfig)protected voidAbstractDockerMojo. pullImage(RegistryService registryService, ImageConfiguration imageConfig, String pullRegistry)Method parameters in io.fabric8.maven.docker with type arguments of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>AbstractDockerMojo. customizeConfig(List<ImageConfiguration> imageConfigs) -
Uses of ImageConfiguration in io.fabric8.maven.docker.config
Methods in io.fabric8.maven.docker.config that return ImageConfiguration Modifier and Type Method Description ImageConfigurationImageConfiguration.Builder. build()Methods in io.fabric8.maven.docker.config that return types with arguments of type ImageConfiguration Modifier and Type Method 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 resolverMethods in io.fabric8.maven.docker.config with parameters of type ImageConfiguration Modifier and Type Method Description static booleanConfigHelper. matchesConfiguredImages(String imageList, ImageConfiguration imageConfig)List<ImageConfiguration>ConfigHelper.Resolver. resolve(ImageConfiguration image)Method parameters in io.fabric8.maven.docker.config with type arguments of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>ConfigHelper.Customizer. customizeConfig(List<ImageConfiguration> configs)static StringConfigHelper. 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 resolverstatic voidConfigHelper. validateExternalPropertyActivation(org.apache.maven.project.MavenProject project, List<ImageConfiguration> images)Constructors in io.fabric8.maven.docker.config with parameters of type ImageConfiguration Constructor Description Builder(ImageConfiguration that) -
Uses of ImageConfiguration in io.fabric8.maven.docker.config.handler
Methods in io.fabric8.maven.docker.config.handler that return types with arguments of type ImageConfiguration Modifier and Type Method 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 moreImageConfigurationobjects describing the image to manageList<ImageConfiguration>ImageConfigResolver. resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)Resolve an image configuration.Methods in io.fabric8.maven.docker.config.handler with parameters of type ImageConfiguration Modifier and Type Method 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 moreImageConfigurationobjects describing the image to manageList<ImageConfiguration>ImageConfigResolver. resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)Resolve an image configuration. -
Uses of ImageConfiguration in io.fabric8.maven.docker.config.handler.compose
Methods in io.fabric8.maven.docker.config.handler.compose that return types with arguments of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>DockerComposeConfigHandler. resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)Methods in io.fabric8.maven.docker.config.handler.compose with parameters of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>DockerComposeConfigHandler. resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) -
Uses of ImageConfiguration in io.fabric8.maven.docker.config.handler.property
Methods in io.fabric8.maven.docker.config.handler.property that return types with arguments of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>PropertyConfigHandler. resolve(ImageConfiguration fromConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)Methods in io.fabric8.maven.docker.config.handler.property with parameters of type ImageConfiguration Modifier and Type Method Description List<ImageConfiguration>PropertyConfigHandler. resolve(ImageConfiguration fromConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) -
Uses of ImageConfiguration in io.fabric8.maven.docker.log
Methods in io.fabric8.maven.docker.log with parameters of type ImageConfiguration Modifier and Type Method Description LogOutputSpecLogOutputSpecFactory. createSpec(String containerId, ImageConfiguration imageConfiguration) -
Uses of ImageConfiguration in io.fabric8.maven.docker.service
Methods in io.fabric8.maven.docker.service that return ImageConfiguration Modifier and Type Method Description ImageConfigurationRunService.ContainerDescriptor. getImageConfig()ImageConfigurationWatchService.ImageWatcher. getImageConfiguration()Methods in io.fabric8.maven.docker.service that return types with arguments of type ImageConfiguration Modifier and Type Method Description Task<ImageConfiguration>WatchService.WatchContext. getImageCustomizer()Methods in io.fabric8.maven.docker.service with parameters of type ImageConfiguration Modifier and Type Method Description voidBuildXService. build(ProjectPaths projectPaths, ImageConfiguration imageConfig, String configuredRegistry, AuthConfig authConfig, File buildArchive)voidJibBuildService. build(String jibImageFormat, ImageConfiguration imageConfig, RegistryService.RegistryConfig registryConfig)FileBuildService. buildArchive(ImageConfiguration imageConfiguration, BuildService.BuildContext buildContext, String archivePath)Create docker archive for building imagevoidBuildService. buildImage(ImageConfiguration imageConfig, ImagePullManager imagePullManager, BuildService.BuildContext buildContext, File buildArchiveFile)Pull the base image if needed and run the build.protected voidBuildService. buildImage(ImageConfiguration imageConfig, MojoParameters params, boolean noCache, boolean squash, Map<String,String> buildArgs, File dockerArchive)Build an imagevoidBuildService. copyDockerArchive(ImageConfiguration imageConfiguration, File dockerArchive, String archivePath)StringRunService. 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.StringRunService. createContainer(ImageConfiguration imageConfig, PortMapping portMapping, GavLabel gavLabel, Properties properties, File baseDir, String defaultContainerNamePattern, Date buildTimestamp)Create a container with the given image configuration.FileArchiveService. createDockerBuildArchive(ImageConfiguration imageConfig, MojoParameters params)Create the tar file container the source for building an image.FileArchiveService. createDockerBuildArchive(ImageConfiguration imageConfig, MojoParameters params, ArchiverCustomizer customizer)Create the tar file container the source for building an image.StringRunService. execInContainer(String containerId, String command, ImageConfiguration imageConfiguration)Create and start a Exec container with the given image configuration.AssemblyFilesArchiveService. getAssemblyFiles(ImageConfiguration imageConfig, String assemblyName, MojoParameters mojoParameters)Get a mapping of original to destination files which a covered by an assembly.voidBuildXService. push(ProjectPaths projectPaths, ImageConfiguration imageConfig, String configuredRegistry, AuthConfig authConfig)voidContainerTracker. registerContainer(String containerId, ImageConfiguration imageConfig, GavLabel gavLabel)Register a started container to this trackervoidRunService. stopContainer(String containerId, ImageConfiguration imageConfig, boolean keepContainer, boolean removeVolumes)Stop a container immediately by id.voidBuildService. tagImage(ImageConfiguration imageConfig)voidWaitService. wait(ImageConfiguration imageConfig, Properties projectProperties, String containerId)Method parameters in io.fabric8.maven.docker.service with type arguments of type ImageConfiguration Modifier and Type Method Description List<StartOrderResolver.Resolvable>RunService. getImagesConfigsInOrder(QueryService queryService, List<ImageConfiguration> images)Get the proper order for images to startWatchService.WatchContext.BuilderWatchService.WatchContext.Builder. imageCustomizer(Task<ImageConfiguration> imageCustomizer)voidJibBuildService. push(Collection<ImageConfiguration> imageConfigs, int retries, RegistryService.RegistryConfig registryConfig, boolean skipTag)voidRegistryService. pushImages(ProjectPaths projectPaths, Collection<ImageConfiguration> imageConfigs, int retries, RegistryService.RegistryConfig registryConfig, boolean skipTag)Push a set of images to a registryvoidWatchService. watch(WatchService.WatchContext context, BuildService.BuildContext buildContext, List<ImageConfiguration> images)Constructors in io.fabric8.maven.docker.service with parameters of type ImageConfiguration Constructor Description ContainerDescriptor(String containerId, ImageConfiguration imageConfig)ImageWatcher(ImageConfiguration imageConfig, WatchService.WatchContext watchContext, String imageId, String containerIdRef) -
Uses of ImageConfiguration in io.fabric8.maven.docker.service.helper
Methods in io.fabric8.maven.docker.service.helper with parameters of type ImageConfiguration Modifier and Type Method Description StartContainerExecutor.BuilderStartContainerExecutor.Builder. imageConfig(ImageConfiguration imageConfig) -
Uses of ImageConfiguration in io.fabric8.maven.docker.util
Methods in io.fabric8.maven.docker.util with parameters of type ImageConfiguration Modifier and Type Method Description static com.google.cloud.tools.jib.api.JibContainerBuilderJibServiceUtil. containerFromImageConfiguration(String jibImageFormat, ImageConfiguration imageConfiguration, com.google.cloud.tools.jib.api.Credential pullRegistryCredential)static StringContainerNamingUtil. formatContainerName(ImageConfiguration image, String defaultContainerNamePattern, Date buildTimestamp, Collection<Container> existingContainers)static StringJibServiceUtil. 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 or if the container name pattern doesn't contain any index placeholders then filter containers (analogContainerNamingUtil.formatContainerName(ImageConfiguration, String, Date, Collection)but with stopping them in mind).
The placeholders of the containerNamePattern are resolved as follows:
%a is replaced with the image alias %n is replaced with the image name %t is replaced with any date (regex \d{10,}) %i is replaced with any number (regex \d+)static StringJibServiceUtil. getFullImageName(ImageConfiguration imageConfiguration, String tag)static voidJibServiceUtil. jibPush(ImageConfiguration imageConfiguration, com.google.cloud.tools.jib.api.Credential pushCredentials, File tarArchive, Logger log)Push Image to registry using JIB
-