Class V1ISCSIPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1ISCSIPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ISCSIPersistentVolumeSource
extends Object
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as
read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPortalsItem
(String portalsItem) chapAuthDiscovery
(Boolean chapAuthDiscovery) chapAuthSession
(Boolean chapAuthSession) boolean
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authenticationchapAuthSession defines whether support iSCSI Session CHAP authenticationfsType is the filesystem type of the volume that you want to mount.initiatorName is the custom iSCSI Initiator Name.getIqn()
iqn is Target iSCSI Qualified Name.iscsiInterface is the interface Name that uses an iSCSI transport.getLun()
lun is iSCSI Target Lun number.portals is the iSCSI Target Portal List.readOnly here will force the ReadOnly setting in VolumeMounts.Get secretReftargetPortal is iSCSI Target Portal.int
hashCode()
initiatorName
(String initiatorName) iscsiInterface
(String iscsiInterface) secretRef
(V1SecretReference secretRef) void
setChapAuthDiscovery
(Boolean chapAuthDiscovery) void
setChapAuthSession
(Boolean chapAuthSession) void
void
setInitiatorName
(String initiatorName) void
void
setIscsiInterface
(String iscsiInterface) void
void
setPortals
(List<String> portals) void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1SecretReference secretRef) void
setTargetPortal
(String targetPortal) targetPortal
(String targetPortal) toString()
-
Field Details
-
SERIALIZED_NAME_CHAP_AUTH_DISCOVERY
- See Also:
-
SERIALIZED_NAME_CHAP_AUTH_SESSION
- See Also:
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_INITIATOR_NAME
- See Also:
-
SERIALIZED_NAME_IQN
- See Also:
-
SERIALIZED_NAME_ISCSI_INTERFACE
- See Also:
-
SERIALIZED_NAME_LUN
- See Also:
-
SERIALIZED_NAME_PORTALS
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_TARGET_PORTAL
- See Also:
-
-
Constructor Details
-
V1ISCSIPersistentVolumeSource
public V1ISCSIPersistentVolumeSource()
-
-
Method Details
-
chapAuthDiscovery
-
getChapAuthDiscovery
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication- Returns:
- chapAuthDiscovery
-
setChapAuthDiscovery
-
chapAuthSession
-
getChapAuthSession
chapAuthSession defines whether support iSCSI Session CHAP authentication- Returns:
- chapAuthSession
-
setChapAuthSession
-
fsType
-
getFsType
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- Returns:
- fsType
-
setFsType
-
initiatorName
-
getInitiatorName
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.- Returns:
- initiatorName
-
setInitiatorName
-
iqn
-
getIqn
iqn is Target iSCSI Qualified Name.- Returns:
- iqn
-
setIqn
-
iscsiInterface
-
getIscsiInterface
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).- Returns:
- iscsiInterface
-
setIscsiInterface
-
lun
-
getLun
lun is iSCSI Target Lun number.- Returns:
- lun
-
setLun
-
portals
-
addPortalsItem
-
getPortals
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).- Returns:
- portals
-
setPortals
-
readOnly
-
getReadOnly
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
targetPortal
-
getTargetPortal
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).- Returns:
- targetPortal
-
setTargetPortal
-
equals
-
hashCode
public int hashCode() -
toString
-