LocalVolumeSource class
Local represents directly-attached storage with node affinity (Beta feature).
Constructors
- LocalVolumeSource({String? fsType, required String path})
-
Default constructor.
const
-
LocalVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a LocalVolumeSource from JSON data.
factory
Properties
- fsType → String?
-
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
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 LocalVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited