java.lang.Object
io.quarkus.container.image.deployment.util.ImageUtil

public final class ImageUtil extends Object
  • Method Details

    • getImage

      public static String getImage(Optional<String> registry, String group, String name, String tag)
      Create an image from the individual parts.
      Parameters:
      registry - The registry.
      repository - The group.
      name - The name.
      tag - The tag.
      Returns:
      The image.
    • getRegistry

      public static Optional<String> getRegistry(String image)
      Return the image registry.
      Parameters:
      image - The docker image.
      Returns:
      The image registry.
    • getGroup

      public static String getGroup(String image)
      Return the image group.
      Parameters:
      image - The docker image.
      Returns:
      The image group.
    • 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.
    • getTag

      public static String getTag(String image)
      Return the tag of the image.
      Parameters:
      image - The docker image.
      Returns:
      The tag if present or null otherwise.