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