CSIPersistentVolumeSourcePatch class
Represents storage that is managed by an external CSI volume driver
Constructors
-
CSIPersistentVolumeSourcePatch({Input<
SecretReferencePatch> ? controllerExpandSecretRef, Input<SecretReferencePatch> ? controllerPublishSecretRef, Input<String> ? driver, Input<String> ? fsType, Input<SecretReferencePatch> ? nodeExpandSecretRef, Input<SecretReferencePatch> ? nodePublishSecretRef, Input<SecretReferencePatch> ? nodeStageSecretRef, Input<bool> ? readOnly, Input<Map< ? volumeAttributes, Input<String, String> >String> ? volumeHandle}) -
Creates a new CSIPersistentVolumeSourcePatch.
controllerExpandSecretRefcontrollerExpandSecretRef 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.controllerPublishSecretRefcontrollerPublishSecretRef 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.driverdriver is the name of the driver to use for this volume. Required.fsTypefsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".nodeExpandSecretRefnodeExpandSecretRef 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.nodePublishSecretRefnodePublishSecretRef 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.nodeStageSecretRefnodeStageSecretRef 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.readOnlyreadOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).volumeAttributesvolumeAttributes of the volume to publish.volumeHandlevolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.const -
CSIPersistentVolumeSourcePatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
controllerExpandSecretRef
→ Input<
SecretReferencePatch> ? -
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.
final
-
controllerPublishSecretRef
→ Input<
SecretReferencePatch> ? -
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.
final
-
driver
→ Input<
String> ? -
driver is the name of the driver to use for this volume. Required.
final
-
fsType
→ Input<
String> ? -
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodeExpandSecretRef
→ Input<
SecretReferencePatch> ? -
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.
final
-
nodePublishSecretRef
→ Input<
SecretReferencePatch> ? -
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.
final
-
nodeStageSecretRef
→ Input<
SecretReferencePatch> ? -
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.
final
-
readOnly
→ Input<
bool> ? -
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumeAttributes
→ Input<
Map< ?String, String> > -
volumeAttributes of the volume to publish.
final
-
volumeHandle
→ Input<
String> ? -
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited