Package io.fabric8.kubernetes.api.model
Class ISCSIVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ISCSIVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ISCSIVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ISCSIVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ISCSIVolumeSourceBuilder>, KubernetesResource
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 ISCSIVolumeSource()No args constructor for use in serializationISCSIVolumeSource(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List<String> portals, Boolean readOnly, LocalObjectReference secretRef, String targetPortal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISCSIVolumeSourceBuilderedit()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 the target iSCSI Qualified Name.StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.IntegergetLun()lun represents iSCSI Target Lun number.List<String>getPortals()portals is the iSCSI Target Portal List.BooleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.LocalObjectReferencegetSecretRef()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 the target iSCSI Qualified Name.voidsetIscsiInterface(String iscsiInterface)iscsiInterface is the interface Name that uses an iSCSI transport.voidsetLun(Integer lun)lun represents 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(LocalObjectReference secretRef)Represents an ISCSI disk.voidsetTargetPortal(String targetPortal)targetPortal is iSCSI Target Portal.ISCSIVolumeSourceBuildertoBuilder()
-
-
-
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 the target iSCSI Qualified Name.
-
setIqn
public void setIqn(String iqn)
iqn is the 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 represents iSCSI Target Lun number.
-
setLun
public void setLun(Integer lun)
lun represents 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 LocalObjectReference getSecretRef()
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(LocalObjectReference secretRef)
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 ISCSIVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ISCSIVolumeSourceBuilder>
-
toBuilder
public ISCSIVolumeSourceBuilder toBuilder()
-
-