ContainerVolume class

Constructors

ContainerVolume({Input<String?>? containerPath, Input<String?>? fromContainer, Input<String?>? hostPath, Input<bool?>? readOnly, Input<String?>? selinuxRelabel, Input<String?>? volumeName})
Creates a new ContainerVolume. containerPath The path in the container where the volume will be mounted. fromContainer The container where the volume is coming from. hostPath The path on the host where the volume is coming from. If hostPath is set, it takes precedence over volumeName. readOnly If true, this volume will be readonly. Defaults to false. selinuxRelabel SELinux relabel mode for bind mounts. Supported values are z and Z. volumeName The name of the docker volume which should be mounted. Ignored when hostPath is set.
const
ContainerVolume.fromMap(Map<String, dynamic> map)
factory

Properties

containerPath → Input<String?>?
The path in the container where the volume will be mounted.
final
fromContainer → Input<String?>?
The container where the volume is coming from.
final
hashCode → int
The hash code for this object.
no setterinherited
hostPath → Input<String?>?
The path on the host where the volume is coming from. If hostPath is set, it takes precedence over volumeName.
final
readOnly → Input<bool?>?
If true, this volume will be readonly. Defaults to false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selinuxRelabel → Input<String?>?
SELinux relabel mode for bind mounts. Supported values are z and Z.
final
volumeName → Input<String?>?
The name of the docker volume which should be mounted. Ignored when hostPath is set.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited