Package k8s.io.api.core.v1
Interface Generated.CSIPersistentVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.CSIPersistentVolumeSource,Generated.CSIPersistentVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.CSIPersistentVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsVolumeAttributes(String key)volumeAttributes of the volume to publish.Generated.SecretReferencegetControllerExpandSecretRef()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.Generated.SecretReferenceOrBuildergetControllerExpandSecretRefOrBuilder()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.Generated.SecretReferencegetControllerPublishSecretRef()controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls.Generated.SecretReferenceOrBuildergetControllerPublishSecretRefOrBuilder()controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls.StringgetDriver()driver is the name of the driver to use for this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the driver to use for this volume.StringgetFsType()fsType to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType to mount.Generated.SecretReferencegetNodeExpandSecretRef()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.Generated.SecretReferenceOrBuildergetNodeExpandSecretRefOrBuilder()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.Generated.SecretReferencegetNodePublishSecretRef()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.SecretReferenceOrBuildergetNodePublishSecretRefOrBuilder()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.SecretReferencegetNodeStageSecretRef()nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls.Generated.SecretReferenceOrBuildergetNodeStageSecretRefOrBuilder()nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls.booleangetReadOnly()readOnly value to pass to ControllerPublishVolumeRequest.Map<String,String>getVolumeAttributes()Deprecated.intgetVolumeAttributesCount()volumeAttributes of the volume to publish.Map<String,String>getVolumeAttributesMap()volumeAttributes of the volume to publish.StringgetVolumeAttributesOrDefault(String key, String defaultValue)volumeAttributes of the volume to publish.StringgetVolumeAttributesOrThrow(String key)volumeAttributes of the volume to publish.StringgetVolumeHandle()volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.com.google.protobuf.ByteStringgetVolumeHandleBytes()volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.booleanhasControllerExpandSecretRef()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.booleanhasControllerPublishSecretRef()controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls.booleanhasDriver()driver is the name of the driver to use for this volume.booleanhasFsType()fsType to mount.booleanhasNodeExpandSecretRef()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.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.booleanhasNodeStageSecretRef()nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls.booleanhasReadOnly()readOnly value to pass to ControllerPublishVolumeRequest.booleanhasVolumeHandle()volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.-
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 driver to use for this volume. Required.
optional string driver = 1;- Returns:
- Whether the driver field is set.
-
getDriver
String getDriver()
driver is the name of the driver to use for this volume. Required.
optional string driver = 1;- Returns:
- The driver.
-
getDriverBytes
com.google.protobuf.ByteString getDriverBytes()
driver is the name of the driver to use for this volume. Required.
optional string driver = 1;- Returns:
- The bytes for driver.
-
hasVolumeHandle
boolean hasVolumeHandle()
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
optional string volumeHandle = 2;- Returns:
- Whether the volumeHandle field is set.
-
getVolumeHandle
String getVolumeHandle()
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
optional string volumeHandle = 2;- Returns:
- The volumeHandle.
-
getVolumeHandleBytes
com.google.protobuf.ByteString getVolumeHandleBytes()
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
optional string volumeHandle = 2;- Returns:
- The bytes for volumeHandle.
-
hasReadOnly
boolean hasReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;- Returns:
- The readOnly.
-
hasFsType
boolean hasFsType()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Returns:
- Whether the fsType field is set.
-
getFsType
String getFsType()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Returns:
- The fsType.
-
getFsTypeBytes
com.google.protobuf.ByteString getFsTypeBytes()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Returns:
- The bytes for fsType.
-
getVolumeAttributesCount
int getVolumeAttributesCount()
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
-
containsVolumeAttributes
boolean containsVolumeAttributes(String key)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
-
getVolumeAttributes
@Deprecated Map<String,String> getVolumeAttributes()
Deprecated.UsegetVolumeAttributesMap()instead.
-
getVolumeAttributesMap
Map<String,String> getVolumeAttributesMap()
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
-
getVolumeAttributesOrDefault
String getVolumeAttributesOrDefault(String key, String defaultValue)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
-
getVolumeAttributesOrThrow
String getVolumeAttributesOrThrow(String key)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
-
hasControllerPublishSecretRef
boolean hasControllerPublishSecretRef()
controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;- Returns:
- Whether the controllerPublishSecretRef field is set.
-
getControllerPublishSecretRef
Generated.SecretReference getControllerPublishSecretRef()
controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;- Returns:
- The controllerPublishSecretRef.
-
getControllerPublishSecretRefOrBuilder
Generated.SecretReferenceOrBuilder getControllerPublishSecretRefOrBuilder()
controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
-
hasNodeStageSecretRef
boolean hasNodeStageSecretRef()
nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;- Returns:
- Whether the nodeStageSecretRef field is set.
-
getNodeStageSecretRef
Generated.SecretReference getNodeStageSecretRef()
nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;- Returns:
- The nodeStageSecretRef.
-
getNodeStageSecretRefOrBuilder
Generated.SecretReferenceOrBuilder getNodeStageSecretRefOrBuilder()
nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
-
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 secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;- Returns:
- Whether the nodePublishSecretRef field is set.
-
getNodePublishSecretRef
Generated.SecretReference 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 secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;- Returns:
- The nodePublishSecretRef.
-
getNodePublishSecretRefOrBuilder
Generated.SecretReferenceOrBuilder 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 secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
-
hasControllerExpandSecretRef
boolean hasControllerExpandSecretRef()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;- Returns:
- Whether the controllerExpandSecretRef field is set.
-
getControllerExpandSecretRef
Generated.SecretReference getControllerExpandSecretRef()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;- Returns:
- The controllerExpandSecretRef.
-
getControllerExpandSecretRefOrBuilder
Generated.SecretReferenceOrBuilder getControllerExpandSecretRefOrBuilder()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
-
hasNodeExpandSecretRef
boolean hasNodeExpandSecretRef()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;- Returns:
- Whether the nodeExpandSecretRef field is set.
-
getNodeExpandSecretRef
Generated.SecretReference getNodeExpandSecretRef()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;- Returns:
- The nodeExpandSecretRef.
-
getNodeExpandSecretRefOrBuilder
Generated.SecretReferenceOrBuilder getNodeExpandSecretRefOrBuilder()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
-
-