类 BuilderBuildpack
java.lang.Object
cn.taketoday.buildpack.platform.build.BuilderBuildpack
- 所有已实现的接口:
Buildpack
A
Buildpack that references a buildpack contained in the builder.
The buildpack reference must contain a buildpack ID (for example,
"example/buildpack") or a buildpack ID and version (for example,
"example/buildpack@1.0.0"). The reference can optionally contain a prefix
urn:cnb:builder: to unambiguously identify it as a builder buildpack reference.
If a version is not provided, the reference will match any version of a buildpack with
the same ID as the reference.- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Harry Yang
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static classA reference to a buildpack builder. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidapply(IOConsumer<Layer> layers) Apply the necessary buildpack layers.private static BuildpackMetadatafindBuildpackMetadata(BuildpackResolverContext context, BuilderBuildpack.BuilderReference builderReference) Return the coordinates of the builder.(专用程序包) static Buildpackresolve(BuildpackResolverContext context, BuildpackReference reference) ABuildpackResolvercompatible method to resolve builder buildpacks.
-
字段详细资料
-
PREFIX
- 另请参阅:
-
coordinates
-
-
构造器详细资料
-
BuilderBuildpack
BuilderBuildpack(BuildpackMetadata buildpackMetadata)
-
-
方法详细资料
-
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 builder buildpacks.- 参数:
context- the resolver contextreference- the buildpack reference- 返回:
- the resolved
Buildpackornull
-
findBuildpackMetadata
private static BuildpackMetadata findBuildpackMetadata(BuildpackResolverContext context, BuilderBuildpack.BuilderReference builderReference)
-