Package k8s.io.api.core.v1
Interface Generated.ISCSIVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ISCSIVolumeSource,Generated.ISCSIVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.ISCSIVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalbooleangetChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalStringgetFsType()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type of the volume that you want to mount.StringgetInitiatorName()initiatorName is the custom iSCSI Initiator Name.com.google.protobuf.ByteStringgetInitiatorNameBytes()initiatorName is the custom iSCSI Initiator Name.StringgetIqn()iqn is the target iSCSI Qualified Name.com.google.protobuf.ByteStringgetIqnBytes()iqn is the target iSCSI Qualified Name.StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.com.google.protobuf.ByteStringgetIscsiInterfaceBytes()iscsiInterface is the interface Name that uses an iSCSI transport.intgetLun()lun represents iSCSI Target Lun number.StringgetPortals(int index)portals is the iSCSI Target Portal List.com.google.protobuf.ByteStringgetPortalsBytes(int index)portals is the iSCSI Target Portal List.intgetPortalsCount()portals is the iSCSI Target Portal List.List<String>getPortalsList()portals is the iSCSI Target Portal List.booleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.LocalObjectReferencegetSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalStringgetTargetPortal()targetPortal is iSCSI Target Portal.com.google.protobuf.ByteStringgetTargetPortalBytes()targetPortal is iSCSI Target Portal.booleanhasChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalbooleanhasChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalbooleanhasFsType()fsType is the filesystem type of the volume that you want to mount.booleanhasInitiatorName()initiatorName is the custom iSCSI Initiator Name.booleanhasIqn()iqn is the target iSCSI Qualified Name.booleanhasIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.booleanhasLun()lun represents iSCSI Target Lun number.booleanhasReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.booleanhasSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalbooleanhasTargetPortal()targetPortal is iSCSI Target Portal.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTargetPortal
boolean hasTargetPortal()
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).
optional string targetPortal = 1;- Returns:
- Whether the targetPortal field is set.
-
getTargetPortal
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).
optional string targetPortal = 1;- Returns:
- The targetPortal.
-
getTargetPortalBytes
com.google.protobuf.ByteString getTargetPortalBytes()
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).
optional string targetPortal = 1;- Returns:
- The bytes for targetPortal.
-
hasIqn
boolean hasIqn()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Returns:
- Whether the iqn field is set.
-
getIqn
String getIqn()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Returns:
- The iqn.
-
getIqnBytes
com.google.protobuf.ByteString getIqnBytes()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Returns:
- The bytes for iqn.
-
hasLun
boolean hasLun()
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Returns:
- Whether the lun field is set.
-
getLun
int getLun()
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Returns:
- The lun.
-
hasIscsiInterface
boolean hasIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Returns:
- Whether the iscsiInterface field is set.
-
getIscsiInterface
String getIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Returns:
- The iscsiInterface.
-
getIscsiInterfaceBytes
com.google.protobuf.ByteString getIscsiInterfaceBytes()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Returns:
- The bytes for iscsiInterface.
-
hasFsType
boolean hasFsType()
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 TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Returns:
- Whether the fsType field is set.
-
getFsType
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 TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Returns:
- The fsType.
-
getFsTypeBytes
com.google.protobuf.ByteString getFsTypeBytes()
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 TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Returns:
- The bytes for fsType.
-
hasReadOnly
boolean hasReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Returns:
- The readOnly.
-
getPortalsList
List<String> getPortalsList()
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). +optional +listType=atomic
repeated string portals = 7;- Returns:
- A list containing the portals.
-
getPortalsCount
int getPortalsCount()
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). +optional +listType=atomic
repeated string portals = 7;- Returns:
- The count of portals.
-
getPortals
String getPortals(int index)
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). +optional +listType=atomic
repeated string portals = 7;- Parameters:
index- The index of the element to return.- Returns:
- The portals at the given index.
-
getPortalsBytes
com.google.protobuf.ByteString getPortalsBytes(int index)
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). +optional +listType=atomic
repeated string portals = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the portals at the given index.
-
hasChapAuthDiscovery
boolean hasChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Returns:
- Whether the chapAuthDiscovery field is set.
-
getChapAuthDiscovery
boolean getChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Returns:
- The chapAuthDiscovery.
-
hasChapAuthSession
boolean hasChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Returns:
- Whether the chapAuthSession field is set.
-
getChapAuthSession
boolean getChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Returns:
- The chapAuthSession.
-
hasSecretRef
boolean hasSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;- Returns:
- Whether the secretRef field is set.
-
getSecretRef
Generated.LocalObjectReference getSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;- Returns:
- The secretRef.
-
getSecretRefOrBuilder
Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
hasInitiatorName
boolean hasInitiatorName()
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. +optional
optional string initiatorName = 12;- Returns:
- Whether the initiatorName field is set.
-
getInitiatorName
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. +optional
optional string initiatorName = 12;- Returns:
- The initiatorName.
-
getInitiatorNameBytes
com.google.protobuf.ByteString getInitiatorNameBytes()
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. +optional
optional string initiatorName = 12;- Returns:
- The bytes for initiatorName.
-
-