PersistentVolumeClaimTemplate class
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
Constructors
-
PersistentVolumeClaimTemplate({Input<
ObjectMeta> ? metadata, required Input<PersistentVolumeClaimSpec> spec}) -
Creates a new PersistentVolumeClaimTemplate.
metadataMay contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.specThe specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.const -
PersistentVolumeClaimTemplate.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Input<
ObjectMeta> ? -
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spec
→ Input<
PersistentVolumeClaimSpec> -
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
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