CSIPersistentVolumeSource

case class CSIPersistentVolumeSource(controllerExpandSecretRef: Optional[SecretReference], controllerPublishSecretRef: Optional[SecretReference], driver: String, fsType: Optional[String], nodePublishSecretRef: Optional[SecretReference], nodeStageSecretRef: Optional[SecretReference], readOnly: Optional[Boolean], volumeAttributes: Optional[Map[String, String]], volumeHandle: String)

Represents storage that is managed by an external CSI volume driver (Beta feature)

Represents storage that is managed by an external CSI volume driver (Beta feature)

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets controllerExpandSecretRef.

Gets controllerExpandSecretRef.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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. Required.

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. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".

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.

Gets nodePublishSecretRef.

Gets nodePublishSecretRef.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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. Defaults to false (read/write).

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. Required.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product