类 DirectoryBuildpack
java.lang.Object
cn.taketoday.buildpack.platform.build.DirectoryBuildpack
- 所有已实现的接口:
Buildpack
A
Buildpack that references a buildpack in a directory on the local file
system.
The file system must contain a buildpack descriptor named buildpack.toml in the
root of the directory. The contents of the directory tree will be provided as a single
layer to be included in the builder image.- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private voidaddLayerContent(Layout layout) voidapply(IOConsumer<Layer> layers) Apply the necessary buildpack layers.private BuildpackCoordinatesfindBuildpackCoordinates(Path path) Return the coordinates of the builder.(专用程序包) static Buildpackresolve(BuildpackResolverContext context, BuildpackReference reference) ABuildpackResolvercompatible method to resolve directory buildpacks.private voidwriteBasePathEntries(Layout layout, Path basePath)
-
字段详细资料
-
path
-
coordinates
-
-
构造器详细资料
-
DirectoryBuildpack
-
-
方法详细资料
-
findBuildpackCoordinates
-
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
-
addLayerContent
- 抛出:
IOException
-
writeBasePathEntries
- 抛出:
IOException
-
resolve
ABuildpackResolvercompatible method to resolve directory buildpacks.- 参数:
context- the resolver contextreference- the buildpack reference- 返回:
- the resolved
Buildpackornull
-