Package io.fabric8.kubernetes.api.model
Class ISCSIPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ISCSIPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ISCSIPersistentVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ISCSIPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ISCSIPersistentVolumeSourceBuilder>, KubernetesResource
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ISCSIPersistentVolumeSource()No args constructor for use in serializationISCSIPersistentVolumeSource(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List<String> portals, Boolean readOnly, SecretReference secretRef, String targetPortal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISCSIPersistentVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authenticationBooleangetChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authenticationStringgetFsType()fsType is the filesystem type of the volume that you want to mount.StringgetInitiatorName()initiatorName is the custom iSCSI Initiator Name.StringgetIqn()iqn is Target iSCSI Qualified Name.StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.IntegergetLun()lun is iSCSI Target Lun number.List<String>getPortals()portals is the iSCSI Target Portal List.BooleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.SecretReferencegetSecretRef()ISCSIPersistentVolumeSource represents an ISCSI disk.StringgetTargetPortal()targetPortal is iSCSI Target Portal.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetChapAuthDiscovery(Boolean chapAuthDiscovery)chapAuthDiscovery defines whether support iSCSI Discovery CHAP authenticationvoidsetChapAuthSession(Boolean chapAuthSession)chapAuthSession defines whether support iSCSI Session CHAP authenticationvoidsetFsType(String fsType)fsType is the filesystem type of the volume that you want to mount.voidsetInitiatorName(String initiatorName)initiatorName is the custom iSCSI Initiator Name.voidsetIqn(String iqn)iqn is Target iSCSI Qualified Name.voidsetIscsiInterface(String iscsiInterface)iscsiInterface is the interface Name that uses an iSCSI transport.voidsetLun(Integer lun)lun is iSCSI Target Lun number.voidsetPortals(List<String> portals)portals is the iSCSI Target Portal List.voidsetReadOnly(Boolean readOnly)readOnly here will force the ReadOnly setting in VolumeMounts.voidsetSecretRef(SecretReference secretRef)ISCSIPersistentVolumeSource represents an ISCSI disk.voidsetTargetPortal(String targetPortal)targetPortal is iSCSI Target Portal.ISCSIPersistentVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getChapAuthDiscovery
public Boolean getChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
-
setChapAuthDiscovery
public void setChapAuthDiscovery(Boolean chapAuthDiscovery)
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
-
getChapAuthSession
public Boolean getChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication
-
setChapAuthSession
public void setChapAuthSession(Boolean chapAuthSession)
chapAuthSession defines whether support iSCSI Session CHAP authentication
-
getFsType
public String 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
-
setFsType
public void setFsType(String fsType)
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
-
getInitiatorName
public String 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.
-
setInitiatorName
public void setInitiatorName(String initiatorName)
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.
-
getIqn
public String getIqn()
iqn is Target iSCSI Qualified Name.
-
setIqn
public void setIqn(String iqn)
iqn is Target iSCSI Qualified Name.
-
getIscsiInterface
public String getIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
-
setIscsiInterface
public void setIscsiInterface(String iscsiInterface)
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
-
getLun
public Integer getLun()
lun is iSCSI Target Lun number.
-
setLun
public void setLun(Integer lun)
lun is iSCSI Target Lun number.
-
getPortals
public List<String> 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).
-
setPortals
public void setPortals(List<String> portals)
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).
-
getReadOnly
public Boolean getReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
-
getSecretRef
public SecretReference getSecretRef()
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
getTargetPortal
public String 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).
-
setTargetPortal
public void setTargetPortal(String targetPortal)
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).
-
edit
public ISCSIPersistentVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ISCSIPersistentVolumeSourceBuilder>
-
toBuilder
public ISCSIPersistentVolumeSourceBuilder toBuilder()
-
-