com.coralogix.zio.k8s.model.core.v1
CSIPersistentVolumeSource
Companion object CSIPersistentVolumeSource
case class CSIPersistentVolumeSource(controllerExpandSecretRef: Optional[SecretReference] = Optional.Absent, controllerPublishSecretRef: Optional[SecretReference] = Optional.Absent, driver: String, fsType: Optional[String] = Optional.Absent, nodePublishSecretRef: Optional[SecretReference] = Optional.Absent, nodeStageSecretRef: Optional[SecretReference] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, volumeAttributes: Optional[Map[String, String]] = Optional.Absent, volumeHandle: String) extends Product with Serializable
Represents storage that is managed by an external CSI volume driver (Beta feature)
- driver
Driver is the name of the driver to use for this volume. Required.
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
- readOnly
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
- volumeAttributes
Attributes of the volume to publish.
- volumeHandle
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
- Alphabetic
- By Inheritance
- CSIPersistentVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CSIPersistentVolumeSource(controllerExpandSecretRef: Optional[SecretReference] = Optional.Absent, controllerPublishSecretRef: Optional[SecretReference] = Optional.Absent, driver: String, fsType: Optional[String] = Optional.Absent, nodePublishSecretRef: Optional[SecretReference] = Optional.Absent, nodeStageSecretRef: Optional[SecretReference] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, volumeAttributes: Optional[Map[String, String]] = Optional.Absent, volumeHandle: String)
- driver
Driver is the name of the driver to use for this volume. Required.
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
- readOnly
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
- volumeAttributes
Attributes of the volume to publish.
- volumeHandle
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
Value Members
- val controllerExpandSecretRef: Optional[SecretReference]
- val controllerPublishSecretRef: Optional[SecretReference]
- val driver: String
- val fsType: Optional[String]
-
def
getControllerExpandSecretRef: IO[K8sFailure, SecretReference]
Gets controllerExpandSecretRef.
Gets controllerExpandSecretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getControllerPublishSecretRef: IO[K8sFailure, SecretReference]
Gets controllerPublishSecretRef.
Gets controllerPublishSecretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDriver: IO[K8sFailure, String]
Driver is the name of the driver to use for this volume.
Driver is the name of the driver to use for this volume. Required.
This effect always succeeds, it is safe to use the field driver directly.
-
def
getFsType: IO[K8sFailure, String]
Filesystem type to mount.
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNodePublishSecretRef: IO[K8sFailure, SecretReference]
Gets nodePublishSecretRef.
Gets nodePublishSecretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNodeStageSecretRef: IO[K8sFailure, SecretReference]
Gets nodeStageSecretRef.
Gets nodeStageSecretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadOnly: IO[K8sFailure, Boolean]
Optional: The value to pass to ControllerPublishVolumeRequest.
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeAttributes: IO[K8sFailure, Map[String, String]]
Attributes of the volume to publish.
Attributes of the volume to publish.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeHandle: IO[K8sFailure, String]
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
This effect always succeeds, it is safe to use the field volumeHandle directly.
- val nodePublishSecretRef: Optional[SecretReference]
- val nodeStageSecretRef: Optional[SecretReference]
- val readOnly: Optional[Boolean]
- val volumeAttributes: Optional[Map[String, String]]
- val volumeHandle: String