类 Lifecycle.Directory

java.lang.Object
cn.taketoday.buildpack.platform.build.Lifecycle.Directory
封闭类:
Lifecycle

private static class Lifecycle.Directory extends Object
Common directories used by the various phases.
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    (专用程序包) static final String
    The directory containing the original contributed application.
    (专用程序包) static final String
    The directory used by buildpacks for caching.
    (专用程序包) static final String
    The directory used by buildpacks for launch related caching.
    (专用程序包) static final String
    The directory used by buildpacks to write their layer contributions.
    (专用程序包) static final String
    The directory used by buildpacks to obtain environment variables and platform specific concerns.
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    private
     
  • 方法概要

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • LAYERS

      static final String 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 -layers argument from the reference lifecycle implementation.

      另请参阅:
    • APPLICATION

      static final String 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 -app argument 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

      static final String 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 the EphemeralBuilder.

      Maps to the <platform>/env and <platform>/# concepts in the buildpack specification and the -platform argument from the reference lifecycle implementation.

      另请参阅:
    • CACHE

      static final String CACHE
      The directory used by buildpacks for caching. The volume name is based on the image name being built, and is persistent across invocations even if the application content has changed.

      Maps to the -path argument from the reference lifecycle implementation cache and restore phases

      另请参阅:
    • LAUNCH_CACHE

      static final String LAUNCH_CACHE
      The directory used by buildpacks for launch related caching. The volume name is based on the image name being built, and is persistent across invocations even if the application content has changed.

      Maps to the -launch-cache argument from the reference lifecycle implementation export phase

      另请参阅:
  • 构造器详细资料

    • Directory

      private Directory()