PersistentVolumeClaimTemplate class

PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

Constructors

PersistentVolumeClaimTemplate({ObjectMeta? metadata, required PersistentVolumeClaimSpec spec})
Default constructor.
const
PersistentVolumeClaimTemplate.fromJson(Map<String, dynamic> json)
Creates a PersistentVolumeClaimTemplate from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata 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 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
toJson() Map<String, Object>
Converts a PersistentVolumeClaimTemplate instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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