CSIVolumeSource

io.k8s.api.core.v1.CSIVolumeSource
See theCSIVolumeSource companion object
final case class CSIVolumeSource(driver: String, readOnly: Option[Boolean], fsType: Option[String], volumeAttributes: Option[Map[String, String]], nodePublishSecretRef: Option[LocalObjectReference])

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

Attributes

Companion
object
Source
CSIVolumeSource.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addVolumeAttributes(newValues: (String, String)*): CSIVolumeSource

Adds new values to volumeAttributes

Adds new values to volumeAttributes

Attributes

Source
CSIVolumeSource.scala
def mapDriver(f: String => String): CSIVolumeSource

transforms driver to result of function

transforms driver to result of function

Attributes

Source
CSIVolumeSource.scala
def mapFsType(f: String => String): CSIVolumeSource

if fsType has a value, transforms to the result of function

if fsType has a value, transforms to the result of function

Attributes

Source
CSIVolumeSource.scala

if nodePublishSecretRef has a value, transforms to the result of function

if nodePublishSecretRef has a value, transforms to the result of function

Attributes

Source
CSIVolumeSource.scala
def mapReadOnly(f: Boolean => Boolean): CSIVolumeSource

if readOnly has a value, transforms to the result of function

if readOnly has a value, transforms to the result of function

Attributes

Source
CSIVolumeSource.scala
def mapVolumeAttributes(f: Map[String, String] => Map[String, String]): CSIVolumeSource

if volumeAttributes has a value, transforms to the result of function

if volumeAttributes has a value, transforms to the result of function

Attributes

Source
CSIVolumeSource.scala
def withDriver(value: String): CSIVolumeSource

Returns a new data with driver set to new value

Returns a new data with driver set to new value

Attributes

Source
CSIVolumeSource.scala
def withFsType(value: String): CSIVolumeSource

Returns a new data with fsType set to new value

Returns a new data with fsType set to new value

Attributes

Source
CSIVolumeSource.scala

Returns a new data with nodePublishSecretRef set to new value

Returns a new data with nodePublishSecretRef set to new value

Attributes

Source
CSIVolumeSource.scala
def withReadOnly(value: Boolean): CSIVolumeSource

Returns a new data with readOnly set to new value

Returns a new data with readOnly set to new value

Attributes

Source
CSIVolumeSource.scala
def withVolumeAttributes(value: Map[String, String]): CSIVolumeSource

Returns a new data with volumeAttributes set to new value

Returns a new data with volumeAttributes set to new value

Attributes

Source
CSIVolumeSource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product