PersistentVolumeClaimSpec

io.k8s.api.core.v1.PersistentVolumeClaimSpec
See thePersistentVolumeClaimSpec companion object
final case class PersistentVolumeClaimSpec(accessModes: Option[Seq[String]], volumeMode: Option[String], dataSourceRef: Option[TypedObjectReference], storageClassName: Option[String], dataSource: Option[TypedLocalObjectReference], volumeName: Option[String], volumeAttributesClassName: Option[String], resources: Option[VolumeResourceRequirements], selector: Option[LabelSelector])

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

Attributes

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

Members list

Value members

Concrete methods

def addAccessModes(newValues: String*): PersistentVolumeClaimSpec

Appends new values to accessModes

Appends new values to accessModes

Attributes

Source
PersistentVolumeClaimSpec.scala
def mapAccessModes(f: (Seq[String]) => Seq[String]): PersistentVolumeClaimSpec

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala
def mapVolumeMode(f: String => String): PersistentVolumeClaimSpec

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala
def mapVolumeName(f: String => String): PersistentVolumeClaimSpec

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

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

Attributes

Source
PersistentVolumeClaimSpec.scala
def withAccessModes(value: Seq[String]): PersistentVolumeClaimSpec

Returns a new data with accessModes set to new value

Returns a new data with accessModes set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with dataSource set to new value

Returns a new data with dataSource set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with dataSourceRef set to new value

Returns a new data with dataSourceRef set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with selector set to new value

Returns a new data with selector set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with storageClassName set to new value

Returns a new data with storageClassName set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with volumeAttributesClassName set to new value

Returns a new data with volumeAttributesClassName set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with volumeMode set to new value

Returns a new data with volumeMode set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Returns a new data with volumeName set to new value

Returns a new data with volumeName set to new value

Attributes

Source
PersistentVolumeClaimSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product