VolumeMount class

VolumeMount describes a mounting of a Volume within a container.

Constructors

VolumeMount({required Input<String> mountPath, required Input<String> name, Input<bool>? readOnly, Input<String>? subPath})
Creates a new VolumeMount. mountPath Path within the container at which the volume should be mounted. Must not contain ':'. name The name of the volume. There must be a corresponding Volume with the same name. readOnly Sets the mount to be read-only or read-write. Not used by Cloud Run. subPath Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
const
VolumeMount.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
mountPath → Input<String>
Path within the container at which the volume should be mounted. Must not contain ':'.
final
name → Input<String>
The name of the volume. There must be a corresponding Volume with the same name.
final
readOnly → Input<bool>?
Sets the mount to be read-only or read-write. Not used by Cloud Run.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subPath → Input<String>?
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
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