Package io.kubernetes.client.proto
Interface V1.CSIVolumeSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.CSIVolumeSource,V1.CSIVolumeSource.Builder
- Enclosing class:
- V1
public static interface V1.CSIVolumeSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanVolumeAttributes stores driver-specific properties that are passed to the CSI driver.Driver is the name of the CSI driver that handles this volume.com.google.protobuf.ByteStringDriver is the name of the CSI driver that handles this volume.Filesystem type to mount.com.google.protobuf.ByteStringFilesystem type to mount.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.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.booleanSpecifies a read-only configuration for the volume.Deprecated.intVolumeAttributes stores driver-specific properties that are passed to the CSI driver.VolumeAttributes stores driver-specific properties that are passed to the CSI driver.getVolumeAttributesOrDefault(String key, String defaultValue) VolumeAttributes stores driver-specific properties that are passed to the CSI driver.VolumeAttributes stores driver-specific properties that are passed to the CSI driver.booleanDriver is the name of the CSI driver that handles this volume.booleanFilesystem type to mount.booleanNodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.booleanSpecifies a read-only configuration for the volume.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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; -
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; -
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; -
hasReadOnly
boolean hasReadOnly()Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2; -
getReadOnly
boolean getReadOnly()Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2; -
hasFsType
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; -
getFsType
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; -
getFsTypeBytes
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; -
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
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.UsegetVolumeAttributesMap()instead. -
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
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
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; -
getNodePublishSecretRef
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; -
getNodePublishSecretRefOrBuilder
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;
-