object PersistentVolumeSpec
- Companion:
- class
- Source:
- PersistentVolumeSpec.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Implicits
Implicits
obj.readOpt[io.k8s.api.core.v1.CSIPersistentVolumeSource]("csi")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((csi:Option[CSIPersistentVolumeSource])=>obj.readOpt[Seq[String]]("accessModes")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,PersistentVolumeSpec](((accessModes:Option[Seq[String]])=>obj.readOpt[Seq[String]]("mountOptions")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,PersistentVolumeSpec](((mountOptions:Option[Seq[String]])=>obj.readOpt[io.k8s.api.core.v1.VolumeNodeAffinity]("nodeAffinity")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((nodeAffinity:Option[VolumeNodeAffinity])=>obj.readOpt[io.k8s.api.core.v1.AzureDiskVolumeSource]("azureDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((azureDisk:Option[AzureDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AzureFilePersistentVolumeSource]("azureFile")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((azureFile:Option[AzureFilePersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.HostPathVolumeSource]("hostPath")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((hostPath:Option[HostPathVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.RBDPersistentVolumeSource]("rbd")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((rbd:Option[RBDPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.PortworxVolumeSource]("portworxVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((portworxVolume:Option[PortworxVolumeSource])=>obj.readOpt[String]("persistentVolumeReclaimPolicy")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((persistentVolumeReclaimPolicy:Option[String])=>obj.readOpt[io.k8s.api.core.v1.GlusterfsPersistentVolumeSource]("glusterfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((glusterfs:Option[GlusterfsPersistentVolumeSource])=>obj.readOpt[String]("volumeMode")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((volumeMode:Option[String])=>obj.readOpt[io.k8s.api.core.v1.FlockerVolumeSource]("flocker")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((flocker:Option[FlockerVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ObjectReference]("claimRef")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((claimRef:Option[ObjectReference])=>obj.readOpt[io.k8s.api.core.v1.FCVolumeSource]("fc")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((fc:Option[FCVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.LocalVolumeSource]("local")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((local:Option[LocalVolumeSource])=>obj.readOpt[String]("storageClassName")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((storageClassName:Option[String])=>obj.readOpt[io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource]("photonPersistentDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((photonPersistentDisk:Option[PhotonPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.GCEPersistentDiskVolumeSource]("gcePersistentDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((gcePersistentDisk:Option[GCEPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource]("vsphereVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((vsphereVolume:Option[VsphereVirtualDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ISCSIPersistentVolumeSource]("iscsi")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((iscsi:Option[ISCSIPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CinderPersistentVolumeSource]("cinder")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((cinder:Option[CinderPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CephFSPersistentVolumeSource]("cephfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((cephfs:Option[CephFSPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource]("awsElasticBlockStore")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((awsElasticBlockStore:Option[AWSElasticBlockStoreVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.FlexPersistentVolumeSource]("flexVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((flexVolume:Option[FlexPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.NFSVolumeSource]("nfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((nfs:Option[NFSVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.QuobyteVolumeSource]("quobyte")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((quobyte:Option[QuobyteVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.StorageOSPersistentVolumeSource]("storageos")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((storageos:Option[StorageOSPersistentVolumeSource])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("capacity")(mapDecoder[T,Quantity](evidence$1,decoder[T](evidence$1))).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[T,PersistentVolumeSpec])
}" class="documentableAnchor">
implicit def obj.readOpt[io.k8s.api.core.v1.CSIPersistentVolumeSource]("csi")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((csi:Option[CSIPersistentVolumeSource])=>obj.readOpt[Seq[String]]("accessModes")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,PersistentVolumeSpec](((accessModes:Option[Seq[String]])=>obj.readOpt[Seq[String]]("mountOptions")(arrDecoder[T,String](evidence$1,stringDecoder[T](evidence$1))).flatMap[String,PersistentVolumeSpec](((mountOptions:Option[Seq[String]])=>obj.readOpt[io.k8s.api.core.v1.VolumeNodeAffinity]("nodeAffinity")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((nodeAffinity:Option[VolumeNodeAffinity])=>obj.readOpt[io.k8s.api.core.v1.AzureDiskVolumeSource]("azureDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((azureDisk:Option[AzureDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AzureFilePersistentVolumeSource]("azureFile")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((azureFile:Option[AzureFilePersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.HostPathVolumeSource]("hostPath")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((hostPath:Option[HostPathVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.RBDPersistentVolumeSource]("rbd")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((rbd:Option[RBDPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.PortworxVolumeSource]("portworxVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((portworxVolume:Option[PortworxVolumeSource])=>obj.readOpt[String]("persistentVolumeReclaimPolicy")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((persistentVolumeReclaimPolicy:Option[String])=>obj.readOpt[io.k8s.api.core.v1.GlusterfsPersistentVolumeSource]("glusterfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((glusterfs:Option[GlusterfsPersistentVolumeSource])=>obj.readOpt[String]("volumeMode")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((volumeMode:Option[String])=>obj.readOpt[io.k8s.api.core.v1.FlockerVolumeSource]("flocker")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((flocker:Option[FlockerVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ObjectReference]("claimRef")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((claimRef:Option[ObjectReference])=>obj.readOpt[io.k8s.api.core.v1.FCVolumeSource]("fc")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((fc:Option[FCVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.LocalVolumeSource]("local")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((local:Option[LocalVolumeSource])=>obj.readOpt[String]("storageClassName")(stringDecoder[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((storageClassName:Option[String])=>obj.readOpt[io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource]("photonPersistentDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((photonPersistentDisk:Option[PhotonPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.GCEPersistentDiskVolumeSource]("gcePersistentDisk")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((gcePersistentDisk:Option[GCEPersistentDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource]("vsphereVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((vsphereVolume:Option[VsphereVirtualDiskVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.ISCSIPersistentVolumeSource]("iscsi")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((iscsi:Option[ISCSIPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CinderPersistentVolumeSource]("cinder")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((cinder:Option[CinderPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.CephFSPersistentVolumeSource]("cephfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((cephfs:Option[CephFSPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource]("awsElasticBlockStore")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((awsElasticBlockStore:Option[AWSElasticBlockStoreVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.FlexPersistentVolumeSource]("flexVolume")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((flexVolume:Option[FlexPersistentVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.NFSVolumeSource]("nfs")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((nfs:Option[NFSVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.QuobyteVolumeSource]("quobyte")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((quobyte:Option[QuobyteVolumeSource])=>obj.readOpt[io.k8s.api.core.v1.StorageOSPersistentVolumeSource]("storageos")(decoderOf[T](evidence$1)).flatMap[String,PersistentVolumeSpec](((storageos:Option[StorageOSPersistentVolumeSource])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("capacity")(mapDecoder[T,Quantity](evidence$1,decoder[T](evidence$1))).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[T,PersistentVolumeSpec])
}" class="documentableName ">decoderOf[T : Reader]: Decoder[T, PersistentVolumeSpec]
- Source:
- PersistentVolumeSpec.scala