PersistentVolumeClaimVolumeSource class
PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).
Constructors
-
PersistentVolumeClaimVolumeSource({required Input<
String> claimName, Input<bool> ? readOnly}) -
Creates a new PersistentVolumeClaimVolumeSource.
claimNameclaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsreadOnlyreadOnly Will force the ReadOnly setting in VolumeMounts. Default false.const -
PersistentVolumeClaimVolumeSource.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
claimName
→ Input<
String> -
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
readOnly
→ Input<
bool> ? -
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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