PersistentVolumeSpec

io.k8s.api.core.v1.PersistentVolumeSpec$
See thePersistentVolumeSpec companion class

Attributes

Companion
class
Source
PersistentVolumeSpec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits

implicit val obj.readOpt[io.k8s.api.core.v1.CSIPersistentVolumeSource]("csi")(decoder).flatMap[String,PersistentVolumeSpec](((csi:Option[CSIPersistentVolumeSource])=>obj.readOpt[Seq[String]]("accessModes")(arrDecoder[String](stringDecoder)).flatMap[String,PersistentVolumeSpec](((accessModes:Option[Seq[String]])=>obj.readOpt[Seq[String]]("mountOptions")(arrDecoder[String](stringDecoder)).flatMap[String,PersistentVolumeSpec](((mountOptions:Option[Seq[String]])=>obj.readOpt[io.k8s.api.core.v1.VolumeNodeAffinity]("nodeAffinity")(decoder).flatMap[String,PersistentVolumeSpec](((nodeAffinity:Option[VolumeNodeAffinity])=>obj.readOpt[io.k8s.api.core.v1.AzureDiskVolumeSource]("azureDisk")(decoder).flatMap[String,PersistentVolumeSpec](((azureDisk:Option[AzureDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AzureFilePersistentVolumeSource]("azureFile")(decoder).flatMap[String,PersistentVolumeSpec](((azureFile:Option[AzureFilePersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.HostPathVolumeSource]("hostPath")(decoder).flatMap[String,PersistentVolumeSpec](((hostPath:Option[HostPathVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.RBDPersistentVolumeSource]("rbd")(decoder).flatMap[String,PersistentVolumeSpec](((rbd:Option[RBDPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.PortworxVolumeSource]("portworxVolume")(decoder).flatMap[String,PersistentVolumeSpec](((portworxVolume:Option[PortworxVolumeSource])=>obj.readOpt[String]("persistentVolumeReclaimPolicy")(stringDecoder).flatMap[String,PersistentVolumeSpec](((persistentVolumeReclaimPolicy:Option[String])=>obj.readOpt[io.k8s.api.core.v1.GlusterfsPersistentVolumeSource]("glusterfs")(decoder).flatMap[String,PersistentVolumeSpec](((glusterfs:Option[GlusterfsPersistentVolumeSource])=>obj.readOpt[String]("volumeMode")(stringDecoder).flatMap[String,PersistentVolumeSpec](((volumeMode:Option[String])=>obj.readOpt[io.k8s.api.core.v1.FlockerVolumeSource]("flocker")(decoder).flatMap[String,PersistentVolumeSpec](((flocker:Option[FlockerVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ObjectReference]("claimRef")(decoder).flatMap[String,PersistentVolumeSpec](((claimRef:Option[ObjectReference])=>obj.readOpt[io.k8s.api.core.v1.FCVolumeSource]("fc")(decoder).flatMap[String,PersistentVolumeSpec](((fc:Option[FCVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.LocalVolumeSource]("local")(decoder).flatMap[String,PersistentVolumeSpec](((local:Option[LocalVolumeSource])=>obj.readOpt[String]("storageClassName")(stringDecoder).flatMap[String,PersistentVolumeSpec](((storageClassName:Option[String])=>obj.readOpt[io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource]("photonPersistentDisk")(decoder).flatMap[String,PersistentVolumeSpec](((photonPersistentDisk:Option[PhotonPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.GCEPersistentDiskVolumeSource]("gcePersistentDisk")(decoder).flatMap[String,PersistentVolumeSpec](((gcePersistentDisk:Option[GCEPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource]("vsphereVolume")(decoder).flatMap[String,PersistentVolumeSpec](((vsphereVolume:Option[VsphereVirtualDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ISCSIPersistentVolumeSource]("iscsi")(decoder).flatMap[String,PersistentVolumeSpec](((iscsi:Option[ISCSIPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CinderPersistentVolumeSource]("cinder")(decoder).flatMap[String,PersistentVolumeSpec](((cinder:Option[CinderPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CephFSPersistentVolumeSource]("cephfs")(decoder).flatMap[String,PersistentVolumeSpec](((cephfs:Option[CephFSPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource]("awsElasticBlockStore")(decoder).flatMap[String,PersistentVolumeSpec](((awsElasticBlockStore:Option[AWSElasticBlockStoreVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.FlexPersistentVolumeSource]("flexVolume")(decoder).flatMap[String,PersistentVolumeSpec](((flexVolume:Option[FlexPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.NFSVolumeSource]("nfs")(decoder).flatMap[String,PersistentVolumeSpec](((nfs:Option[NFSVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.QuobyteVolumeSource]("quobyte")(decoder).flatMap[String,PersistentVolumeSpec](((quobyte:Option[QuobyteVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.StorageOSPersistentVolumeSource]("storageos")(decoder).flatMap[String,PersistentVolumeSpec](((storageos:Option[StorageOSPersistentVolumeSource])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("capacity")(mapDecoder[Quantity](decoder)).map[PersistentVolumeSpec](((capacity:Option[Map[String,Quantity]])=>PersistentVolumeSpec.apply(scaleIO=scaleIO,csi=csi,accessModes=accessModes,mountOptions=mountOptions,nodeAffinity=nodeAffinity,azureDisk=azureDisk,azureFile=azureFile,hostPath=hostPath,rbd=rbd,portworxVolume=portworxVolume,persistentVolumeReclaimPolicy=persistentVolumeReclaimPolicy,glusterfs=glusterfs,volumeMode=volumeMode,flocker=flocker,claimRef=claimRef,fc=fc,local=local,storageClassName=storageClassName,photonPersistentDisk=photonPersistentDisk,gcePersistentDisk=gcePersistentDisk,vsphereVolume=vsphereVolume,iscsi=iscsi,cinder=cinder,cephfs=cephfs,awsElasticBlockStore=awsElasticBlockStore,flexVolume=flexVolume,nfs=nfs,quobyte=quobyte,storageos=storageos,capacity=capacity))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) } (new$anon():Decoder[PersistentVolumeSpec]) }" t="n"class="documentableName ">decoder: Decoder[PersistentVolumeSpec]

Attributes

Source
PersistentVolumeSpec.scala