接口 Buildpack
interface Buildpack
A Buildpack that should be invoked by the builder during image building.
- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明voidapply(IOConsumer<Layer> layers) Apply the necessary buildpack layers.Return the coordinates of the builder.
-
方法详细资料
-
getCoordinates
BuildpackCoordinates getCoordinates()Return the coordinates of the builder.- 返回:
- the builder coordinates
-
apply
Apply the necessary buildpack layers.- 参数:
layers- a consumer that should accept the layers- 抛出:
IOException- on IO error
-