public final class ImageUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getImage(Optional<String> registry,
String repository,
String name,
String tag)
Create an image from the individual parts.
|
static String |
getName(String image)
Return the docker image name.
|
static String |
getRepository(String image)
Return the docker image repository.
|
static String |
getTag(String image)
Return the tag of the image.
|
public static String getImage(Optional<String> registry, String repository, String name, String tag)
registry - The registry.repository - The repository.name - The name.tag - The tag.public static String getRepository(String image)
image - The docker image.public static String getName(String image)
image - The docker image.Copyright © 2021 JBoss by Red Hat. All rights reserved.