VolumeAttachmentSource class

VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.

Constructors

VolumeAttachmentSource({PersistentVolumeSpec? inlineVolumeSpec, String? persistentVolumeName})
Default constructor.
const
VolumeAttachmentSource.fromJson(Map<String, dynamic> json)
Creates a VolumeAttachmentSource from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inlineVolumeSpec PersistentVolumeSpec?
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
final
persistentVolumeName String?
persistentVolumeName represents the name of the persistent volume to attach.
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
toJson() Map<String, Object>
Converts a VolumeAttachmentSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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