Package k8s.io.api.core.v1
Interface Generated.CSIVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.CSIVolumeSource,Generated.CSIVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.CSIVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsVolumeAttributes(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetDriver()driver is the name of the CSI driver that handles this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the CSI driver that handles this volume.StringgetFsType()fsType to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType to mount.Generated.LocalObjectReferencegetNodePublishSecretRef()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.Generated.LocalObjectReferenceOrBuildergetNodePublishSecretRefOrBuilder()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.booleangetReadOnly()readOnly specifies a read-only configuration for the volume.Map<String,String>getVolumeAttributes()Deprecated.intgetVolumeAttributesCount()volumeAttributes stores driver-specific properties that are passed to the CSI driver.Map<String,String>getVolumeAttributesMap()volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrDefault(String key, String defaultValue)volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrThrow(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.booleanhasDriver()driver is the name of the CSI driver that handles this volume.booleanhasFsType()fsType to mount.booleanhasNodePublishSecretRef()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.booleanhasReadOnly()readOnly specifies a read-only configuration for the volume.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDriver
boolean hasDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Returns:
- Whether the driver field is set.
-
getDriver
String getDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Returns:
- The driver.
-
getDriverBytes
com.google.protobuf.ByteString getDriverBytes()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Returns:
- The bytes for driver.
-
hasReadOnly
boolean hasReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Returns:
- The readOnly.
-
hasFsType
boolean hasFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Returns:
- Whether the fsType field is set.
-
getFsType
String getFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Returns:
- The fsType.
-
getFsTypeBytes
com.google.protobuf.ByteString getFsTypeBytes()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Returns:
- The bytes for fsType.
-
getVolumeAttributesCount
int getVolumeAttributesCount()
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
containsVolumeAttributes
boolean containsVolumeAttributes(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
getVolumeAttributes
@Deprecated Map<String,String> getVolumeAttributes()
Deprecated.UsegetVolumeAttributesMap()instead.
-
getVolumeAttributesMap
Map<String,String> getVolumeAttributesMap()
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
getVolumeAttributesOrDefault
String getVolumeAttributesOrDefault(String key, String defaultValue)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
getVolumeAttributesOrThrow
String getVolumeAttributesOrThrow(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
hasNodePublishSecretRef
boolean hasNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Returns:
- Whether the nodePublishSecretRef field is set.
-
getNodePublishSecretRef
Generated.LocalObjectReference getNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Returns:
- The nodePublishSecretRef.
-
getNodePublishSecretRefOrBuilder
Generated.LocalObjectReferenceOrBuilder getNodePublishSecretRefOrBuilder()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
-