类 Image
java.lang.Object
cn.taketoday.buildpack.platform.json.MappedObject
cn.taketoday.buildpack.platform.docker.type.Image
Image details as returned from
Docker inspect.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明extractLayers(String[] layers) Return image config information.Return the created date of the image.Return the digests of the image.getDigests(JsonNode node) Return the layer IDs contained in the image.getOs()Return the OS of the image.static Imageof(InputStream content) Create a newImageinstance from the specified JSON content.
-
字段详细资料
-
digests
-
config
-
layers
-
os
-
created
-
-
构造器详细资料
-
Image
Image(JsonNode node)
-
-
方法详细资料
-
getDigests
-
extractLayers
-
getDigests
Return the digests of the image.- 返回:
- the image digests
-
getConfig
Return image config information.- 返回:
- the image config
-
getLayers
Return the layer IDs contained in the image.- 返回:
- the layer IDs.
-
getOs
Return the OS of the image.- 返回:
- the image OS
-
getCreated
Return the created date of the image.- 返回:
- the image created date
-
of
Create a newImageinstance from the specified JSON content.- 参数:
content- the JSON content- 返回:
- a new
Imageinstance - 抛出:
IOException- on IO error
-