VolumeArgs

data class VolumeArgs(val name: Output<String>? = null, val path: Output<String>? = null) : ConvertibleToJava<VolumeArgs>

Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

Constructors

Link copied to clipboard
fun VolumeArgs(name: Output<String>? = null, path: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VolumeArgs

Properties

Link copied to clipboard
val name: Output<String>? = null

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

Link copied to clipboard
val path: Output<String>? = null

Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.