VolumeAttachmentSpec class
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
Constructors
- VolumeAttachmentSpec({required String attacher, required String nodeName, required VolumeAttachmentSource source})
-
Default constructor.
const
-
VolumeAttachmentSpec.fromJson(Map<
String, dynamic> json) -
Creates a VolumeAttachmentSpec from JSON data.
factory
Properties
- attacher → String
-
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeName → String
-
nodeName represents the node that the volume should be attached to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → VolumeAttachmentSource
-
source represents the volume that should be attached.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a VolumeAttachmentSpec instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited