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 TypeMethodDescriptionReturn the architecture of the image.Return image config information.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.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, of, of, of, valueAt, valueAt
-
Method Details
-
getDigests
-
getConfig
-
getLayers
-
getOs
-
getArchitecture
Return the architecture of the image.- Returns:
- the image architecture
-
getVariant
-
getCreated
-
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
-