类 Lifecycle.Directory
- 封闭类:
- Lifecycle
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final StringThe directory containing the original contributed application.(专用程序包) static final StringThe directory used by buildpacks for caching.(专用程序包) static final StringThe directory used by buildpacks for launch related caching.(专用程序包) static final StringThe directory used by buildpacks to write their layer contributions.(专用程序包) static final StringThe directory used by buildpacks to obtain environment variables and platform specific concerns. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
LAYERS
The directory used by buildpacks to write their layer contributions. A new layer directory is created for each lifecycle execution.Maps to the
<layers...>concept in the buildpack specification and the-layersargument from the reference lifecycle implementation.- 另请参阅:
-
APPLICATION
The directory containing the original contributed application. A new application directory is created for each lifecycle execution.Maps to the
<app...>concept in the buildpack specification and the-appargument from the reference lifecycle implementation. The reference lifecycle follows the Kubernetes/Docker convention of using'/workspace'.Note that application content is uploaded to the container with the first phase that runs and saved in a volume that is passed to subsequent phases. The directory is mutable and buildpacks may modify the content.
- 另请参阅:
-
PLATFORM
The directory used by buildpacks to obtain environment variables and platform specific concerns. The platform directory is read-only and is created/populated by theEphemeralBuilder.Maps to the
<platform>/envand<platform>/#concepts in the buildpack specification and the-platformargument from the reference lifecycle implementation.- 另请参阅:
-
CACHE
The directory used by buildpacks for caching. The volume name is based on the imagenamebeing built, and is persistent across invocations even if the application content has changed.Maps to the
-pathargument from the reference lifecycle implementation cache and restore phases- 另请参阅:
-
LAUNCH_CACHE
The directory used by buildpacks for launch related caching. The volume name is based on the imagenamebeing built, and is persistent across invocations even if the application content has changed.Maps to the
-launch-cacheargument from the reference lifecycle implementation export phase- 另请参阅:
-
-
构造器详细资料
-
Directory
private Directory()
-