FlexVolumeSource class

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Constructors

FlexVolumeSource({required Input<String> driver, Input<String>? fsType, Input<Map<String, String>>? options, Input<bool>? readOnly, Input<LocalObjectReference>? secretRef})
Creates a new FlexVolumeSource. driver driver is the name of the driver to use for this volume. fsType 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. options options is Optional: this field holds extra command options if any. readOnly readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. secretRef 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.
const
FlexVolumeSource.fromMap(Map<String, dynamic> map)
factory

Properties

driver → Input<String>
driver is the name of the driver to use for this volume.
final
fsType → Input<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 → Input<Map<String, String>>?
options is Optional: this field holds extra command options if any.
final
readOnly → Input<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 → Input<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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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