case class CSIVolumeSource(driver: String, fsType: Optional[String] = Optional.Absent, nodePublishSecretRef: Optional[LocalObjectReference] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, volumeAttributes: Optional[Map[String, String]] = Optional.Absent) extends Product with Serializable
Represents a source location of a volume to mount, managed by an external CSI driver
- 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.
- Alphabetic
- By Inheritance
- CSIVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CSIVolumeSource(driver: String, fsType: Optional[String] = Optional.Absent, nodePublishSecretRef: Optional[LocalObjectReference] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, volumeAttributes: Optional[Map[String, String]] = Optional.Absent)
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val driver: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fsType: Optional[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDriver: IO[K8sFailure, String]
Driver is the name of the CSI driver that handles this volume.
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.
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.
-
def
getNodePublishSecretRef: IO[K8sFailure, LocalObjectReference]
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.
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.
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodePublishSecretRef: Optional[LocalObjectReference]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val readOnly: Optional[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val volumeAttributes: Optional[Map[String, String]]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated