Class V1CSIPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1CSIPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1CSIPersistentVolumeSource
extends Object
Represents storage that is managed by an external CSI volume driver (Beta feature)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontrollerExpandSecretRef
(V1SecretReference controllerExpandSecretRef) controllerPublishSecretRef
(V1SecretReference controllerPublishSecretRef) boolean
Get controllerExpandSecretRefGet controllerPublishSecretRefdriver is the name of the driver to use for this volume.fsType to mount.Get nodeExpandSecretRefGet nodePublishSecretRefGet nodeStageSecretRefreadOnly value to pass to ControllerPublishVolumeRequest.volumeAttributes of the volume to publish.volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.int
hashCode()
nodeExpandSecretRef
(V1SecretReference nodeExpandSecretRef) nodePublishSecretRef
(V1SecretReference nodePublishSecretRef) nodeStageSecretRef
(V1SecretReference nodeStageSecretRef) putVolumeAttributesItem
(String key, String volumeAttributesItem) void
setControllerExpandSecretRef
(V1SecretReference controllerExpandSecretRef) void
setControllerPublishSecretRef
(V1SecretReference controllerPublishSecretRef) void
void
void
setNodeExpandSecretRef
(V1SecretReference nodeExpandSecretRef) void
setNodePublishSecretRef
(V1SecretReference nodePublishSecretRef) void
setNodeStageSecretRef
(V1SecretReference nodeStageSecretRef) void
setReadOnly
(Boolean readOnly) void
setVolumeAttributes
(Map<String, String> volumeAttributes) void
setVolumeHandle
(String volumeHandle) toString()
volumeAttributes
(Map<String, String> volumeAttributes) volumeHandle
(String volumeHandle)
-
Field Details
-
SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF
- See Also:
-
SERIALIZED_NAME_CONTROLLER_PUBLISH_SECRET_REF
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_NODE_EXPAND_SECRET_REF
- See Also:
-
SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF
- See Also:
-
SERIALIZED_NAME_NODE_STAGE_SECRET_REF
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_VOLUME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_VOLUME_HANDLE
- See Also:
-
-
Constructor Details
-
V1CSIPersistentVolumeSource
public V1CSIPersistentVolumeSource()
-
-
Method Details
-
controllerExpandSecretRef
public V1CSIPersistentVolumeSource controllerExpandSecretRef(V1SecretReference controllerExpandSecretRef) -
getControllerExpandSecretRef
Get controllerExpandSecretRef- Returns:
- controllerExpandSecretRef
-
setControllerExpandSecretRef
-
controllerPublishSecretRef
public V1CSIPersistentVolumeSource controllerPublishSecretRef(V1SecretReference controllerPublishSecretRef) -
getControllerPublishSecretRef
Get controllerPublishSecretRef- Returns:
- controllerPublishSecretRef
-
setControllerPublishSecretRef
-
driver
-
getDriver
driver is the name of the driver to use for this volume. Required.- Returns:
- driver
-
setDriver
-
fsType
-
getFsType
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".- Returns:
- fsType
-
setFsType
-
nodeExpandSecretRef
-
getNodeExpandSecretRef
Get nodeExpandSecretRef- Returns:
- nodeExpandSecretRef
-
setNodeExpandSecretRef
-
nodePublishSecretRef
-
getNodePublishSecretRef
Get nodePublishSecretRef- Returns:
- nodePublishSecretRef
-
setNodePublishSecretRef
-
nodeStageSecretRef
-
getNodeStageSecretRef
Get nodeStageSecretRef- Returns:
- nodeStageSecretRef
-
setNodeStageSecretRef
-
readOnly
-
getReadOnly
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).- Returns:
- readOnly
-
setReadOnly
-
volumeAttributes
-
putVolumeAttributesItem
-
getVolumeAttributes
volumeAttributes of the volume to publish.- Returns:
- volumeAttributes
-
setVolumeAttributes
-
volumeHandle
-
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.- Returns:
- volumeHandle
-
setVolumeHandle
-
equals
-
hashCode
public int hashCode() -
toString
-