UNPKG

kubernetes-models

Version:
1 lines 24 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"validate",{enumerable:!0,get:function(){return validate}});let _IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource=require("./IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.js"),_IoK8sApiCoreV1AzureDiskVolumeSource=require("./IoK8sApiCoreV1AzureDiskVolumeSource.js"),_IoK8sApiCoreV1AzureFileVolumeSource=require("./IoK8sApiCoreV1AzureFileVolumeSource.js"),_IoK8sApiCoreV1CephFSVolumeSource=require("./IoK8sApiCoreV1CephFSVolumeSource.js"),_IoK8sApiCoreV1CinderVolumeSource=require("./IoK8sApiCoreV1CinderVolumeSource.js"),_IoK8sApiCoreV1ConfigMapVolumeSource=require("./IoK8sApiCoreV1ConfigMapVolumeSource.js"),_IoK8sApiCoreV1CSIVolumeSource=require("./IoK8sApiCoreV1CSIVolumeSource.js"),_IoK8sApiCoreV1DownwardAPIVolumeSource=require("./IoK8sApiCoreV1DownwardAPIVolumeSource.js"),_IoK8sApiCoreV1EmptyDirVolumeSource=require("./IoK8sApiCoreV1EmptyDirVolumeSource.js"),_IoK8sApiCoreV1EphemeralVolumeSource=require("./IoK8sApiCoreV1EphemeralVolumeSource.js"),_IoK8sApiCoreV1FCVolumeSource=require("./IoK8sApiCoreV1FCVolumeSource.js"),_IoK8sApiCoreV1FlexVolumeSource=require("./IoK8sApiCoreV1FlexVolumeSource.js"),_IoK8sApiCoreV1FlockerVolumeSource=require("./IoK8sApiCoreV1FlockerVolumeSource.js"),_IoK8sApiCoreV1GCEPersistentDiskVolumeSource=require("./IoK8sApiCoreV1GCEPersistentDiskVolumeSource.js"),_IoK8sApiCoreV1GitRepoVolumeSource=require("./IoK8sApiCoreV1GitRepoVolumeSource.js"),_IoK8sApiCoreV1GlusterfsVolumeSource=require("./IoK8sApiCoreV1GlusterfsVolumeSource.js"),_IoK8sApiCoreV1HostPathVolumeSource=require("./IoK8sApiCoreV1HostPathVolumeSource.js"),_IoK8sApiCoreV1ISCSIVolumeSource=require("./IoK8sApiCoreV1ISCSIVolumeSource.js"),_IoK8sApiCoreV1NFSVolumeSource=require("./IoK8sApiCoreV1NFSVolumeSource.js"),_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource=require("./IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.js"),_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource=require("./IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.js"),_IoK8sApiCoreV1PortworxVolumeSource=require("./IoK8sApiCoreV1PortworxVolumeSource.js"),_IoK8sApiCoreV1ProjectedVolumeSource=require("./IoK8sApiCoreV1ProjectedVolumeSource.js"),_IoK8sApiCoreV1QuobyteVolumeSource=require("./IoK8sApiCoreV1QuobyteVolumeSource.js"),_IoK8sApiCoreV1RBDVolumeSource=require("./IoK8sApiCoreV1RBDVolumeSource.js"),_IoK8sApiCoreV1ScaleIOVolumeSource=require("./IoK8sApiCoreV1ScaleIOVolumeSource.js"),_IoK8sApiCoreV1SecretVolumeSource=require("./IoK8sApiCoreV1SecretVolumeSource.js"),_IoK8sApiCoreV1StorageOSVolumeSource=require("./IoK8sApiCoreV1StorageOSVolumeSource.js"),_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource=require("./IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.js"),validate=function validate21(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;if(data&&"object"==typeof data&&!Array.isArray(data)){if(void 0===data.name){let err0={instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty:"name"}};null===vErrors?vErrors=[err0]:vErrors.push(err0),errors++}void 0===data.awsElasticBlockStore||validate22(data.awsElasticBlockStore,{instancePath:instancePath+"/awsElasticBlockStore",parentData:data,parentDataProperty:"awsElasticBlockStore",rootData})||(errors=(vErrors=null===vErrors?validate22.errors:vErrors.concat(validate22.errors)).length),void 0===data.azureDisk||validate26(data.azureDisk,{instancePath:instancePath+"/azureDisk",parentData:data,parentDataProperty:"azureDisk",rootData})||(errors=(vErrors=null===vErrors?validate26.errors:vErrors.concat(validate26.errors)).length),void 0===data.azureFile||validate30(data.azureFile,{instancePath:instancePath+"/azureFile",parentData:data,parentDataProperty:"azureFile",rootData})||(errors=(vErrors=null===vErrors?validate30.errors:vErrors.concat(validate30.errors)).length),void 0===data.cephfs||validate34(data.cephfs,{instancePath:instancePath+"/cephfs",parentData:data,parentDataProperty:"cephfs",rootData})||(errors=(vErrors=null===vErrors?validate34.errors:vErrors.concat(validate34.errors)).length),void 0===data.cinder||validate38(data.cinder,{instancePath:instancePath+"/cinder",parentData:data,parentDataProperty:"cinder",rootData})||(errors=(vErrors=null===vErrors?validate38.errors:vErrors.concat(validate38.errors)).length),void 0===data.configMap||validate42(data.configMap,{instancePath:instancePath+"/configMap",parentData:data,parentDataProperty:"configMap",rootData})||(errors=(vErrors=null===vErrors?validate42.errors:vErrors.concat(validate42.errors)).length),void 0===data.csi||validate46(data.csi,{instancePath:instancePath+"/csi",parentData:data,parentDataProperty:"csi",rootData})||(errors=(vErrors=null===vErrors?validate46.errors:vErrors.concat(validate46.errors)).length),void 0===data.downwardAPI||validate50(data.downwardAPI,{instancePath:instancePath+"/downwardAPI",parentData:data,parentDataProperty:"downwardAPI",rootData})||(errors=(vErrors=null===vErrors?validate50.errors:vErrors.concat(validate50.errors)).length),void 0===data.emptyDir||validate54(data.emptyDir,{instancePath:instancePath+"/emptyDir",parentData:data,parentDataProperty:"emptyDir",rootData})||(errors=(vErrors=null===vErrors?validate54.errors:vErrors.concat(validate54.errors)).length),void 0===data.ephemeral||validate58(data.ephemeral,{instancePath:instancePath+"/ephemeral",parentData:data,parentDataProperty:"ephemeral",rootData})||(errors=(vErrors=null===vErrors?validate58.errors:vErrors.concat(validate58.errors)).length),void 0===data.fc||validate62(data.fc,{instancePath:instancePath+"/fc",parentData:data,parentDataProperty:"fc",rootData})||(errors=(vErrors=null===vErrors?validate62.errors:vErrors.concat(validate62.errors)).length),void 0===data.flexVolume||validate66(data.flexVolume,{instancePath:instancePath+"/flexVolume",parentData:data,parentDataProperty:"flexVolume",rootData})||(errors=(vErrors=null===vErrors?validate66.errors:vErrors.concat(validate66.errors)).length),void 0===data.flocker||validate70(data.flocker,{instancePath:instancePath+"/flocker",parentData:data,parentDataProperty:"flocker",rootData})||(errors=(vErrors=null===vErrors?validate70.errors:vErrors.concat(validate70.errors)).length),void 0===data.gcePersistentDisk||validate74(data.gcePersistentDisk,{instancePath:instancePath+"/gcePersistentDisk",parentData:data,parentDataProperty:"gcePersistentDisk",rootData})||(errors=(vErrors=null===vErrors?validate74.errors:vErrors.concat(validate74.errors)).length),void 0===data.gitRepo||validate78(data.gitRepo,{instancePath:instancePath+"/gitRepo",parentData:data,parentDataProperty:"gitRepo",rootData})||(errors=(vErrors=null===vErrors?validate78.errors:vErrors.concat(validate78.errors)).length),void 0===data.glusterfs||validate82(data.glusterfs,{instancePath:instancePath+"/glusterfs",parentData:data,parentDataProperty:"glusterfs",rootData})||(errors=(vErrors=null===vErrors?validate82.errors:vErrors.concat(validate82.errors)).length),void 0===data.hostPath||validate86(data.hostPath,{instancePath:instancePath+"/hostPath",parentData:data,parentDataProperty:"hostPath",rootData})||(errors=(vErrors=null===vErrors?validate86.errors:vErrors.concat(validate86.errors)).length),void 0===data.iscsi||validate90(data.iscsi,{instancePath:instancePath+"/iscsi",parentData:data,parentDataProperty:"iscsi",rootData})||(errors=(vErrors=null===vErrors?validate90.errors:vErrors.concat(validate90.errors)).length),void 0===data.name||validate94(data.name,{instancePath:instancePath+"/name",parentData:data,parentDataProperty:"name",rootData})||(errors=(vErrors=null===vErrors?validate94.errors:vErrors.concat(validate94.errors)).length),void 0===data.nfs||validate96(data.nfs,{instancePath:instancePath+"/nfs",parentData:data,parentDataProperty:"nfs",rootData})||(errors=(vErrors=null===vErrors?validate96.errors:vErrors.concat(validate96.errors)).length),void 0===data.persistentVolumeClaim||validate100(data.persistentVolumeClaim,{instancePath:instancePath+"/persistentVolumeClaim",parentData:data,parentDataProperty:"persistentVolumeClaim",rootData})||(errors=(vErrors=null===vErrors?validate100.errors:vErrors.concat(validate100.errors)).length),void 0===data.photonPersistentDisk||validate104(data.photonPersistentDisk,{instancePath:instancePath+"/photonPersistentDisk",parentData:data,parentDataProperty:"photonPersistentDisk",rootData})||(errors=(vErrors=null===vErrors?validate104.errors:vErrors.concat(validate104.errors)).length),void 0===data.portworxVolume||validate108(data.portworxVolume,{instancePath:instancePath+"/portworxVolume",parentData:data,parentDataProperty:"portworxVolume",rootData})||(errors=(vErrors=null===vErrors?validate108.errors:vErrors.concat(validate108.errors)).length),void 0===data.projected||validate112(data.projected,{instancePath:instancePath+"/projected",parentData:data,parentDataProperty:"projected",rootData})||(errors=(vErrors=null===vErrors?validate112.errors:vErrors.concat(validate112.errors)).length),void 0===data.quobyte||validate116(data.quobyte,{instancePath:instancePath+"/quobyte",parentData:data,parentDataProperty:"quobyte",rootData})||(errors=(vErrors=null===vErrors?validate116.errors:vErrors.concat(validate116.errors)).length),void 0===data.rbd||validate120(data.rbd,{instancePath:instancePath+"/rbd",parentData:data,parentDataProperty:"rbd",rootData})||(errors=(vErrors=null===vErrors?validate120.errors:vErrors.concat(validate120.errors)).length),void 0===data.scaleIO||validate124(data.scaleIO,{instancePath:instancePath+"/scaleIO",parentData:data,parentDataProperty:"scaleIO",rootData})||(errors=(vErrors=null===vErrors?validate124.errors:vErrors.concat(validate124.errors)).length),void 0===data.secret||validate128(data.secret,{instancePath:instancePath+"/secret",parentData:data,parentDataProperty:"secret",rootData})||(errors=(vErrors=null===vErrors?validate128.errors:vErrors.concat(validate128.errors)).length),void 0===data.storageos||validate132(data.storageos,{instancePath:instancePath+"/storageos",parentData:data,parentDataProperty:"storageos",rootData})||(errors=(vErrors=null===vErrors?validate132.errors:vErrors.concat(validate132.errors)).length),void 0===data.vsphereVolume||validate136(data.vsphereVolume,{instancePath:instancePath+"/vsphereVolume",parentData:data,parentDataProperty:"vsphereVolume",rootData})||(errors=(vErrors=null===vErrors?validate136.errors:vErrors.concat(validate136.errors)).length)}else{let err1={instancePath,schemaPath:"#/type",keyword:"type",params:{type:"object"}};null===vErrors?vErrors=[err1]:vErrors.push(err1),errors++}return validate21.errors=vErrors,0===errors};function validate22(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.validate.errors)).length),validate22.errors=vErrors,0===errors}function validate26(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1AzureDiskVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1AzureDiskVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1AzureDiskVolumeSource.validate.errors)).length),validate26.errors=vErrors,0===errors}function validate30(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1AzureFileVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1AzureFileVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1AzureFileVolumeSource.validate.errors)).length),validate30.errors=vErrors,0===errors}function validate34(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1CephFSVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1CephFSVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1CephFSVolumeSource.validate.errors)).length),validate34.errors=vErrors,0===errors}function validate38(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1CinderVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1CinderVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1CinderVolumeSource.validate.errors)).length),validate38.errors=vErrors,0===errors}function validate42(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1ConfigMapVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1ConfigMapVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1ConfigMapVolumeSource.validate.errors)).length),validate42.errors=vErrors,0===errors}function validate46(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1CSIVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1CSIVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1CSIVolumeSource.validate.errors)).length),validate46.errors=vErrors,0===errors}function validate50(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1DownwardAPIVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1DownwardAPIVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1DownwardAPIVolumeSource.validate.errors)).length),validate50.errors=vErrors,0===errors}function validate54(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1EmptyDirVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1EmptyDirVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1EmptyDirVolumeSource.validate.errors)).length),validate54.errors=vErrors,0===errors}function validate58(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1EphemeralVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1EphemeralVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1EphemeralVolumeSource.validate.errors)).length),validate58.errors=vErrors,0===errors}function validate62(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1FCVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1FCVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1FCVolumeSource.validate.errors)).length),validate62.errors=vErrors,0===errors}function validate66(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1FlexVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1FlexVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1FlexVolumeSource.validate.errors)).length),validate66.errors=vErrors,0===errors}function validate70(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1FlockerVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1FlockerVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1FlockerVolumeSource.validate.errors)).length),validate70.errors=vErrors,0===errors}function validate74(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1GCEPersistentDiskVolumeSource.validate.errors)).length),validate74.errors=vErrors,0===errors}function validate78(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1GitRepoVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1GitRepoVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1GitRepoVolumeSource.validate.errors)).length),validate78.errors=vErrors,0===errors}function validate82(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1GlusterfsVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1GlusterfsVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1GlusterfsVolumeSource.validate.errors)).length),validate82.errors=vErrors,0===errors}function validate86(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1HostPathVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1HostPathVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1HostPathVolumeSource.validate.errors)).length),validate86.errors=vErrors,0===errors}function validate90(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1ISCSIVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1ISCSIVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1ISCSIVolumeSource.validate.errors)).length),validate90.errors=vErrors,0===errors}function validate94(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;if("string"!=typeof data){let err0={instancePath,schemaPath:"#/type",keyword:"type",params:{type:"string"}};null===vErrors?vErrors=[err0]:vErrors.push(err0),errors++}return validate94.errors=vErrors,0===errors}function validate96(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1NFSVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1NFSVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1NFSVolumeSource.validate.errors)).length),validate96.errors=vErrors,0===errors}function validate100(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.validate.errors)).length),validate100.errors=vErrors,0===errors}function validate104(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.validate.errors)).length),validate104.errors=vErrors,0===errors}function validate108(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1PortworxVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1PortworxVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1PortworxVolumeSource.validate.errors)).length),validate108.errors=vErrors,0===errors}function validate112(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1ProjectedVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1ProjectedVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1ProjectedVolumeSource.validate.errors)).length),validate112.errors=vErrors,0===errors}function validate116(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1QuobyteVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1QuobyteVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1QuobyteVolumeSource.validate.errors)).length),validate116.errors=vErrors,0===errors}function validate120(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1RBDVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1RBDVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1RBDVolumeSource.validate.errors)).length),validate120.errors=vErrors,0===errors}function validate124(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1ScaleIOVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1ScaleIOVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1ScaleIOVolumeSource.validate.errors)).length),validate124.errors=vErrors,0===errors}function validate128(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1SecretVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1SecretVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1SecretVolumeSource.validate.errors)).length),validate128.errors=vErrors,0===errors}function validate132(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1StorageOSVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1StorageOSVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1StorageOSVolumeSource.validate.errors)).length),validate132.errors=vErrors,0===errors}function validate136(data,{instancePath="",parentData,parentDataProperty,rootData=data}={}){let vErrors=null,errors=0;return null===data||(0,_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.validate)(data,{instancePath,parentData,parentDataProperty,rootData})||(errors=(vErrors=null===vErrors?_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.validate.errors:vErrors.concat(_IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.validate.errors)).length),validate136.errors=vErrors,0===errors}