类 ImageBuildpack
java.lang.Object
cn.taketoday.buildpack.platform.build.ImageBuildpack
- 所有已实现的接口:
Buildpack
A
Buildpack that references a buildpack contained in an OCI image.
The reference must be an OCI image reference. The reference can optionally contain a
prefix docker:// to unambiguously identify it as an image buildpack reference.- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Phillip Webb, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final BuildpackCoordinatesprivate final ImageBuildpack.ExportedLayersprivate static final String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidapply(IOConsumer<Layer> layers) Apply the necessary buildpack layers.private booleanbuildpackExistsInBuilder(BuildpackResolverContext context, List<LayerId> imageLayers) Return the coordinates of the builder.(专用程序包) static Buildpackresolve(BuildpackResolverContext context, BuildpackReference reference) ABuildpackResolvercompatible method to resolve image buildpacks.
-
字段详细资料
-
PREFIX
- 另请参阅:
-
coordinates
-
exportedLayers
-
-
构造器详细资料
-
ImageBuildpack
-
-
方法详细资料
-
buildpackExistsInBuilder
private boolean buildpackExistsInBuilder(BuildpackResolverContext context, List<LayerId> imageLayers) -
getCoordinates
从接口复制的说明:BuildpackReturn the coordinates of the builder.- 指定者:
getCoordinates在接口中Buildpack- 返回:
- the builder coordinates
-
apply
从接口复制的说明:BuildpackApply the necessary buildpack layers.- 指定者:
apply在接口中Buildpack- 参数:
layers- a consumer that should accept the layers- 抛出:
IOException- on IO error
-
resolve
ABuildpackResolvercompatible method to resolve image buildpacks.- 参数:
context- the resolver contextreference- the buildpack reference- 返回:
- the resolved
Buildpackornull
-