Class Image
java.lang.Object
org.springframework.boot.buildpack.platform.json.MappedObject
org.springframework.boot.buildpack.platform.docker.type.Image
Image details as returned from
Docker inspect
.- Since:
- 2.3.0
- Author:
- Phillip Webb, Scott Frederick
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C>
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
Return the architecture of the image.Return image config information.@Nullable String
Return the created date of the image.Return the digests of the image.Return the layer IDs contained in the image.getOs()
Return the OS of the image.@Nullable String
Return the variant of the image.static Image
of
(InputStream content) Create a newImage
instance from the specified JSON content.Methods inherited from class org.springframework.boot.buildpack.platform.json.MappedObject
childrenAt, getNode, getRoot, mapAt, of, of, of, valueAt, valueAt
-
Method Details
-
getDigests
-
getConfig
-
getLayers
-
getOs
-
getArchitecture
Return the architecture of the image.- Returns:
- the image architecture
-
getVariant
-
getCreated
Return the created date of the image.- Returns:
- the image created date
-
of
Create a newImage
instance from the specified JSON content.- Parameters:
content
- the JSON content- Returns:
- a new
Image
instance - Throws:
IOException
- on IO error
-