Class ImageUtil
- java.lang.Object
-
- io.quarkus.container.image.deployment.util.ImageUtil
-
public final class ImageUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetImage(Optional<String> registry, String repository, String name, String tag)Create an image from the individual parts.static StringgetName(String image)Return the docker image name.static StringgetRepository(String image)Return the docker image repository.static StringgetTag(String image)Return the tag of the image.
-
-
-
Method Detail
-
getImage
public static String getImage(Optional<String> registry, String repository, String name, String tag)
Create an image from the individual parts.- Parameters:
registry- The registry.repository- The repository.name- The name.tag- The tag.- Returns:
- The image.
-
getRepository
public static String getRepository(String image)
Return the docker image repository.- Parameters:
image- The docker image.- Returns:
- The image repository.
-
getName
public static String getName(String image)
Return the docker image name.- Parameters:
image- The docker image.- Returns:
- The image name.
-
-