ISCSIPersistentVolumeSource class
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
Constructors
-
ISCSIPersistentVolumeSource({bool? chapAuthDiscovery, bool? chapAuthSession, String? fsType, String? initiatorName, required String iqn, String? iscsiInterface, required int lun, List<
String> ? portals, bool? readOnly, SecretReference? secretRef, required String targetPortal}) -
Default constructor.
const
-
ISCSIPersistentVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a ISCSIPersistentVolumeSource from JSON data.
factory
Properties
- chapAuthDiscovery → bool?
-
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.
final
- chapAuthSession → bool?
-
chapAuthSession defines whether support iSCSI Session CHAP authentication.
final
- fsType → String?
-
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initiatorName → String?
-
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
final
- iqn → String
-
iqn is Target iSCSI Qualified Name.
final
- iscsiInterface → String?
-
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
final
- lun → int
-
lun is iSCSI Target Lun number.
final
-
portals
→ List<
String> ? -
portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
final
- readOnly → bool?
-
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretRef → SecretReference?
-
secretRef is the CHAP Secret for iSCSI target and initiator authentication.
final
- targetPortal → String
-
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ISCSIPersistentVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited