VolumeDefinitionResponse

data class VolumeDefinitionResponse(val bind: BindOptionsResponse? = null, val consistency: String? = null, val readOnly: Boolean? = null, val source: String? = null, val target: String? = null, val tmpfs: TmpfsOptionsResponse? = null, val type: String? = null, val volume: VolumeOptionsResponse? = null)

Describes the volume configuration for the container

Constructors

Link copied to clipboard
constructor(bind: BindOptionsResponse? = null, consistency: String? = null, readOnly: Boolean? = null, source: String? = null, target: String? = null, tmpfs: TmpfsOptionsResponse? = null, type: String? = null, volume: VolumeOptionsResponse? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Bind Options of the mount

Link copied to clipboard
val consistency: String? = null

Consistency of the volume

Link copied to clipboard
val readOnly: Boolean? = null

Indicate whether to mount volume as readOnly. Default value for this is false.

Link copied to clipboard
val source: String? = null

Source of the mount. For bind mounts this is the host path.

Link copied to clipboard
val target: String? = null

Target of the mount. For bind mounts this is the path in the container.

Link copied to clipboard

tmpfs option of the mount

Link copied to clipboard
val type: String? = null

Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe

Link copied to clipboard

Volume Options of the mount