Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ISCSIVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ISCSIVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ISCSIVolumeSource extends Object
Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CHAP_AUTH_DISCOVERYstatic StringJSON_PROPERTY_CHAP_AUTH_SESSIONstatic StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_INITIATOR_NAMEstatic StringJSON_PROPERTY_IQNstatic StringJSON_PROPERTY_ISCSI_INTERFACEstatic StringJSON_PROPERTY_LUNstatic StringJSON_PROPERTY_PORTALSstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_REFstatic StringJSON_PROPERTY_TARGET_PORTAL
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ISCSIVolumeSource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CHAP_AUTH_DISCOVERY
public static final String JSON_PROPERTY_CHAP_AUTH_DISCOVERY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHAP_AUTH_SESSION
public static final String JSON_PROPERTY_CHAP_AUTH_SESSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INITIATOR_NAME
public static final String JSON_PROPERTY_INITIATOR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IQN
public static final String JSON_PROPERTY_IQN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISCSI_INTERFACE
public static final String JSON_PROPERTY_ISCSI_INTERFACE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LUN
public static final String JSON_PROPERTY_LUN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORTALS
public static final String JSON_PROPERTY_PORTALS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRET_REF
public static final String JSON_PROPERTY_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_PORTAL
public static final String JSON_PROPERTY_TARGET_PORTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
chapAuthDiscovery
public IoK8sApiCoreV1ISCSIVolumeSource chapAuthDiscovery(Boolean chapAuthDiscovery)
-
getChapAuthDiscovery
@Nullable public Boolean getChapAuthDiscovery()
whether support iSCSI Discovery CHAP authentication- Returns:
- chapAuthDiscovery
-
setChapAuthDiscovery
public void setChapAuthDiscovery(Boolean chapAuthDiscovery)
-
chapAuthSession
public IoK8sApiCoreV1ISCSIVolumeSource chapAuthSession(Boolean chapAuthSession)
-
getChapAuthSession
@Nullable public Boolean getChapAuthSession()
whether support iSCSI Session CHAP authentication- Returns:
- chapAuthSession
-
setChapAuthSession
public void setChapAuthSession(Boolean chapAuthSession)
-
fsType
public IoK8sApiCoreV1ISCSIVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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
public void setFsType(String fsType)
-
initiatorName
public IoK8sApiCoreV1ISCSIVolumeSource initiatorName(String initiatorName)
-
getInitiatorName
@Nullable public String getInitiatorName()
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
public void setInitiatorName(String initiatorName)
-
iqn
public IoK8sApiCoreV1ISCSIVolumeSource iqn(String iqn)
-
getIqn
public String getIqn()
Target iSCSI Qualified Name.- Returns:
- iqn
-
setIqn
public void setIqn(String iqn)
-
iscsiInterface
public IoK8sApiCoreV1ISCSIVolumeSource iscsiInterface(String iscsiInterface)
-
getIscsiInterface
@Nullable public String getIscsiInterface()
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).- Returns:
- iscsiInterface
-
setIscsiInterface
public void setIscsiInterface(String iscsiInterface)
-
lun
public IoK8sApiCoreV1ISCSIVolumeSource lun(Integer lun)
-
getLun
public Integer getLun()
iSCSI Target Lun number.- Returns:
- lun
-
setLun
public void setLun(Integer lun)
-
portals
public IoK8sApiCoreV1ISCSIVolumeSource portals(List<String> portals)
-
addPortalsItem
public IoK8sApiCoreV1ISCSIVolumeSource addPortalsItem(String portalsItem)
-
getPortals
@Nullable public List<String> getPortals()
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
-
readOnly
public IoK8sApiCoreV1ISCSIVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
secretRef
public IoK8sApiCoreV1ISCSIVolumeSource secretRef(IoK8sApiCoreV1LocalObjectReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1LocalObjectReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1LocalObjectReference secretRef)
-
targetPortal
public IoK8sApiCoreV1ISCSIVolumeSource targetPortal(String targetPortal)
-
getTargetPortal
public String getTargetPortal()
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
public void setTargetPortal(String targetPortal)
-
-