public static final class V1.ISCSIPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.ISCSIPersistentVolumeSourceOrBuilder
ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.Protobuf type
k8s.io.api.core.v1.ISCSIPersistentVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.ISCSIPersistentVolumeSource.Builder
ISCSIPersistentVolumeSource represents an ISCSI disk.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHAPAUTHDISCOVERY_FIELD_NUMBER |
static int |
CHAPAUTHSESSION_FIELD_NUMBER |
static int |
FSTYPE_FIELD_NUMBER |
static int |
INITIATORNAME_FIELD_NUMBER |
static int |
IQN_FIELD_NUMBER |
static int |
ISCSIINTERFACE_FIELD_NUMBER |
static int |
LUN_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> |
PARSER
Deprecated.
|
static int |
PORTALS_FIELD_NUMBER |
static int |
READONLY_FIELD_NUMBER |
static int |
SECRETREF_FIELD_NUMBER |
static int |
TARGETPORTAL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getChapAuthDiscovery()
whether support iSCSI Discovery CHAP authentication
+optional
|
boolean |
getChapAuthSession()
whether support iSCSI Session CHAP authentication
+optional
|
static V1.ISCSIPersistentVolumeSource |
getDefaultInstance() |
V1.ISCSIPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFsType()
Filesystem type of the volume that you want to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type of the volume that you want to mount.
|
String |
getInitiatorName()
Custom iSCSI Initiator Name.
|
com.google.protobuf.ByteString |
getInitiatorNameBytes()
Custom iSCSI Initiator Name.
|
String |
getIqn()
Target iSCSI Qualified Name.
|
com.google.protobuf.ByteString |
getIqnBytes()
Target iSCSI Qualified Name.
|
String |
getIscsiInterface()
iSCSI Interface Name that uses an iSCSI transport.
|
com.google.protobuf.ByteString |
getIscsiInterfaceBytes()
iSCSI Interface Name that uses an iSCSI transport.
|
int |
getLun()
iSCSI Target Lun number.
|
com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> |
getParserForType() |
String |
getPortals(int index)
iSCSI Target Portal List.
|
com.google.protobuf.ByteString |
getPortalsBytes(int index)
iSCSI Target Portal List.
|
int |
getPortalsCount()
iSCSI Target Portal List.
|
com.google.protobuf.ProtocolStringList |
getPortalsList()
iSCSI Target Portal List.
|
boolean |
getReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
V1.SecretReference |
getSecretRef()
CHAP Secret for iSCSI target and initiator authentication
+optional
|
V1.SecretReferenceOrBuilder |
getSecretRefOrBuilder()
CHAP Secret for iSCSI target and initiator authentication
+optional
|
int |
getSerializedSize() |
String |
getTargetPortal()
iSCSI Target Portal.
|
com.google.protobuf.ByteString |
getTargetPortalBytes()
iSCSI Target Portal.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChapAuthDiscovery()
whether support iSCSI Discovery CHAP authentication
+optional
|
boolean |
hasChapAuthSession()
whether support iSCSI Session CHAP authentication
+optional
|
boolean |
hasFsType()
Filesystem type of the volume that you want to mount.
|
int |
hashCode() |
boolean |
hasInitiatorName()
Custom iSCSI Initiator Name.
|
boolean |
hasIqn()
Target iSCSI Qualified Name.
|
boolean |
hasIscsiInterface()
iSCSI Interface Name that uses an iSCSI transport.
|
boolean |
hasLun()
iSCSI Target Lun number.
|
boolean |
hasReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
boolean |
hasSecretRef()
CHAP Secret for iSCSI target and initiator authentication
+optional
|
boolean |
hasTargetPortal()
iSCSI Target Portal.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.ISCSIPersistentVolumeSource.Builder |
newBuilder() |
static V1.ISCSIPersistentVolumeSource.Builder |
newBuilder(V1.ISCSIPersistentVolumeSource prototype) |
V1.ISCSIPersistentVolumeSource.Builder |
newBuilderForType() |
protected V1.ISCSIPersistentVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.ISCSIPersistentVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.ISCSIPersistentVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(byte[] data) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(ByteBuffer data) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(InputStream input) |
static V1.ISCSIPersistentVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> |
parser() |
V1.ISCSIPersistentVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TARGETPORTAL_FIELD_NUMBER
public static final int IQN_FIELD_NUMBER
public static final int LUN_FIELD_NUMBER
public static final int ISCSIINTERFACE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
public static final int PORTALS_FIELD_NUMBER
public static final int CHAPAUTHDISCOVERY_FIELD_NUMBER
public static final int CHAPAUTHSESSION_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
public static final int INITIATORNAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTargetPortal()
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;hasTargetPortal in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic 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).
optional string targetPortal = 1;getTargetPortal in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTargetPortalBytes()
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;getTargetPortalBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasIqn()
Target iSCSI Qualified Name.
optional string iqn = 2;hasIqn in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic String getIqn()
Target iSCSI Qualified Name.
optional string iqn = 2;getIqn in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getIqnBytes()
Target iSCSI Qualified Name.
optional string iqn = 2;getIqnBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasLun()
iSCSI Target Lun number.
optional int32 lun = 3;hasLun in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic int getLun()
iSCSI Target Lun number.
optional int32 lun = 3;getLun in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasIscsiInterface()
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional
optional string iscsiInterface = 4;hasIscsiInterface in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic String getIscsiInterface()
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional
optional string iscsiInterface = 4;getIscsiInterface in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getIscsiInterfaceBytes()
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional
optional string iscsiInterface = 4;getIscsiInterfaceBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasFsType()
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;hasFsType in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic 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 TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;getFsType in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
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;getFsTypeBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;hasReadOnly in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;getReadOnly in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ProtocolStringList getPortalsList()
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
repeated string portals = 7;getPortalsList in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic int getPortalsCount()
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
repeated string portals = 7;getPortalsCount in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic String getPortals(int index)
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
repeated string portals = 7;getPortals in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getPortalsBytes(int index)
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
repeated string portals = 7;getPortalsBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasChapAuthDiscovery()
whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;hasChapAuthDiscovery in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean getChapAuthDiscovery()
whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;getChapAuthDiscovery in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasChapAuthSession()
whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;hasChapAuthSession in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean getChapAuthSession()
whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;getChapAuthSession in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasSecretRef()
CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 10;hasSecretRef in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic V1.SecretReference getSecretRef()
CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 10;getSecretRef in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic V1.SecretReferenceOrBuilder getSecretRefOrBuilder()
CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 10;getSecretRefOrBuilder in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic boolean hasInitiatorName()
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;hasInitiatorName in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic 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. +optional
optional string initiatorName = 12;getInitiatorName in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getInitiatorNameBytes()
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;getInitiatorNameBytes in interface V1.ISCSIPersistentVolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.ISCSIPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.ISCSIPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.ISCSIPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.ISCSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.ISCSIPersistentVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.ISCSIPersistentVolumeSource.Builder newBuilder()
public static V1.ISCSIPersistentVolumeSource.Builder newBuilder(V1.ISCSIPersistentVolumeSource prototype)
public V1.ISCSIPersistentVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.ISCSIPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.ISCSIPersistentVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> parser()
public com.google.protobuf.Parser<V1.ISCSIPersistentVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.ISCSIPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.