Class ImageReference
java.lang.Object
org.springframework.boot.docker.compose.core.ImageReference
A docker image reference of form
[<registry>/][<project>/]<image>[:<tag>|@<digest>]
.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the referenced image, excluding the registry or project.int
hashCode()
static ImageReference
Create an image reference from the given String value.toString()
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getImageName
Return the referenced image, excluding the registry or project. For example, a reference ofmy_private.registry:5000/redis:5
would returnredis
.- Returns:
- the referenced image
-
of
Create an image reference from the given String value.- Parameters:
value
- the string used to create the reference- Returns:
- an
ImageReference
instance
-