VolumeDevice class
VolumeDevice describes a mapping of a raw block device within a container.
Constructors
- VolumeDevice({required String devicePath, required String name})
-
The main constructor.
const
-
VolumeDevice.fromJson(Map<
String, dynamic> json) - Creates a VolumeDevice from JSON data.
Properties
- devicePath → String
-
DevicePath is the path inside of the container that the device will be mapped to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name must match the name of a persistentVolumeClaim in the pod.
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 VolumeDevice instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
Iterable< Map< list) → List<String, dynamic> >VolumeDevice> - Creates a list of VolumeDevice from JSON data.