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