FlexVolumeSource class
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
Constructors
-
FlexVolumeSource({required String driver, String? fsType, Map<
String, String> ? options, bool? readOnly, LocalObjectReference? secretRef}) -
Default constructor.
const
-
FlexVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a FlexVolumeSource from JSON data.
factory
Properties
- driver → String
-
driver is the name of the driver to use for this volume.
final
- fsType → String?
-
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
→ Map<
String, String> ? -
options is Optional: this field holds extra command options if any.
final
- readOnly → bool?
-
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretRef → LocalObjectReference?
-
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a FlexVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited