类 Phase
java.lang.Object
cn.taketoday.buildpack.platform.build.Phase
An individual build phase executed as part of a
Lifecycle run.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick, Jeroen Meijer, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voidapply(ContainerConfig.Update update) Apply this phase settings to aContainerConfigupdate.(专用程序包) StringgetName()Return the name of the phase.toString()(专用程序包) voidUpdate this phase with additional run arguments.(专用程序包) voidwithBinding(Binding binding) Update this phase with an addition volume binding.(专用程序包) voidUpdate this phase with Docker daemon access.(专用程序包) voidUpdate this phase with an additional environment variable.(专用程序包) voidUpdate this phase with a debug log level arguments if verbose logging has been requested.(专用程序包) voidwithNetworkMode(String networkMode) Update this phase with the network the build container will connect to.(专用程序包) voidwithSecurityOption(String option) Update this phase with a security option.
-
字段详细资料
-
name
-
verboseLogging
private final boolean verboseLogging -
daemonAccess
private boolean daemonAccess -
args
-
bindings
-
env
-
securityOptions
-
networkMode
-
-
构造器详细资料
-
方法详细资料
-
withDaemonAccess
void withDaemonAccess()Update this phase with Docker daemon access. -
withLogLevelArg
void withLogLevelArg()Update this phase with a debug log level arguments if verbose logging has been requested. -
withArgs
Update this phase with additional run arguments.- 参数:
args- the arguments to add
-
withBinding
Update this phase with an addition volume binding.- 参数:
binding- the binding
-
withEnv
Update this phase with an additional environment variable.- 参数:
name- the variable namevalue- the variable value
-
withNetworkMode
Update this phase with the network the build container will connect to.- 参数:
networkMode- the network
-
withSecurityOption
Update this phase with a security option.- 参数:
option- the security option
-
getName
String getName()Return the name of the phase.- 返回:
- the phase name
-
toString
-
apply
Apply this phase settings to aContainerConfigupdate.- 参数:
update- the update to apply the phase to
-