Class V1CSIVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1CSIVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1CSIVolumeSource
extends Object
Represents a source location of a volume to mount, managed by an external CSI driver
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
driver is the name of the CSI driver that handles this volume.fsType to mount.Get nodePublishSecretRefreadOnly specifies a read-only configuration for the volume.volumeAttributes stores driver-specific properties that are passed to the CSI driver.int
hashCode()
nodePublishSecretRef
(V1LocalObjectReference nodePublishSecretRef) putVolumeAttributesItem
(String key, String volumeAttributesItem) void
void
void
setNodePublishSecretRef
(V1LocalObjectReference nodePublishSecretRef) void
setReadOnly
(Boolean readOnly) void
setVolumeAttributes
(Map<String, String> volumeAttributes) toString()
volumeAttributes
(Map<String, String> volumeAttributes)
-
Field Details
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_VOLUME_ATTRIBUTES
- See Also:
-
-
Constructor Details
-
V1CSIVolumeSource
public V1CSIVolumeSource()
-
-
Method Details
-
driver
-
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.- Returns:
- driver
-
setDriver
-
fsType
-
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.- Returns:
- fsType
-
setFsType
-
nodePublishSecretRef
-
getNodePublishSecretRef
Get nodePublishSecretRef- Returns:
- nodePublishSecretRef
-
setNodePublishSecretRef
-
readOnly
-
getReadOnly
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).- Returns:
- readOnly
-
setReadOnly
-
volumeAttributes
-
putVolumeAttributesItem
-
getVolumeAttributes
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.- Returns:
- volumeAttributes
-
setVolumeAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-