CSIVolumeSource

case
class CSIVolumeSource(driver: String, fsType: Optional[String], nodePublishSecretRef: Optional[LocalObjectReference], readOnly: Optional[Boolean], volumeAttributes: Optional[Map[String, String]])

Represents a source location of a volume to mount, managed by an external CSI driver

Value Params
driver

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.

fsType

Filesystem type 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.

readOnly

Specifies a read-only configuration for the volume. Defaults to false (read/write).

volumeAttributes

VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

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

Value members

Concrete methods

def getDriver: IO[K8sFailure, String]

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.

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.

This effect always succeeds, it is safe to use the field driver directly.

def getFsType: IO[K8sFailure, String]

Filesystem type 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.

Filesystem type 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.

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.

def getReadOnly: IO[K8sFailure, Boolean]

Specifies a read-only configuration for the volume. Defaults to false (read/write).

Specifies a read-only configuration for the volume. 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]]

VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

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

Inherited methods

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