ISCSIVolumeSource class

Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

Constructors

ISCSIVolumeSource({bool? chapAuthDiscovery, bool? chapAuthSession, String? fsType, String? initiatorName, required String iqn, String? iscsiInterface, required int lun, List<String>? portals, bool? readOnly, LocalObjectReference? secretRef, required String targetPortal})
The main constructor.
const
ISCSIVolumeSource.fromJson(Map<String, dynamic> json)
Creates a ISCSIVolumeSource from JSON data.

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 the 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 represents 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 LocalObjectReference?
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 ISCSIVolumeSource 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<String, dynamic>> list) List<ISCSIVolumeSource>
Creates a list of ISCSIVolumeSource from JSON data.