Class ImagePlatform
java.lang.Object
org.springframework.boot.buildpack.platform.docker.type.ImagePlatform
A platform specification for a Docker image.
- Since:
- 3.4.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ImagePlatformCreate a newImagePlatformmatching the platform information from the providedImage.inthashCode()static ImagePlatformCreate a newImagePlatformfrom the given value in the formos[/architecture[/variant]].toString()
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
of
Create a newImagePlatformfrom the given value in the formos[/architecture[/variant]].- Parameters:
value- the value to parse- Returns:
- an
ImagePlatforminstance
-
from
Create a newImagePlatformmatching the platform information from the providedImage.- Parameters:
image- the image to get platform information from- Returns:
- an
ImagePlatforminstance
-