public static interface V1.CSIVolumeSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVolumeAttributes(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
String |
getDriver()
Driver is the name of the CSI driver that handles this volume.
|
com.google.protobuf.ByteString |
getDriverBytes()
Driver is the name of the CSI driver that handles this volume.
|
String |
getFsType()
Filesystem type to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type to mount.
|
V1.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.
|
V1.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.
|
boolean |
getReadOnly()
Specifies a read-only configuration for the volume.
|
Map<String,String> |
getVolumeAttributes()
Deprecated.
|
int |
getVolumeAttributesCount()
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.
|
String |
getVolumeAttributesOrDefault(String key,
String defaultValue)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
String |
getVolumeAttributesOrThrow(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
boolean |
hasDriver()
Driver is the name of the CSI driver that handles this volume.
|
boolean |
hasFsType()
Filesystem type to mount.
|
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.
|
boolean |
hasReadOnly()
Specifies a read-only configuration for the volume.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;boolean hasReadOnly()
Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;boolean getReadOnly()
Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;boolean hasFsType()
Filesystem type 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;String getFsType()
Filesystem type 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;com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type 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;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;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;@Deprecated Map<String,String> getVolumeAttributes()
getVolumeAttributesMap() instead.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;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;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;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;V1.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;V1.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;Copyright © 2023. All rights reserved.