类 ImageArchive.Update
java.lang.Object
cn.taketoday.buildpack.platform.docker.type.ImageArchive.Update
- 封闭类:
- ImageArchive
Update class used to change data when creating an image archive.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private ImageArchiveapplyTo(IOConsumer<ImageArchive.Update> update) voidwithCreateDate(Instant createDate) Set the create date for the image archive.voidwithNewLayer(Layer layer) Add a new layer to the image archive.voidwithTag(ImageReference tag) Set the tag for the image archive.voidwithUpdatedConfig(Consumer<ImageConfig.Update> update) Apply updates to theImageConfig.
-
字段详细资料
-
image
-
config
-
createDate
-
tag
-
newLayers
-
-
构造器详细资料
-
Update
-
-
方法详细资料
-
applyTo
- 抛出:
IOException
-
withUpdatedConfig
Apply updates to theImageConfig.- 参数:
update- consumer to apply updates
-
withNewLayer
Add a new layer to the image archive.- 参数:
layer- the layer to add
-
withCreateDate
Set the create date for the image archive.- 参数:
createDate- the create date
-
withTag
Set the tag for the image archive.- 参数:
tag- the tag
-