Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MapIsCorrelatable (0.2 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    				return errs, remainingBudget
    			}
    		}
    	}
    
    	return errs, remainingBudget
    }
    
    // MapIsCorrelatable returns true if the mapType can be used to correlate the data elements of a map after an update
    // with the data elements of the map from before the updated.
    func MapIsCorrelatable(mapType *string) bool {
    	// if a third map type is introduced, assume it's not correlatable. granular is the default if unspecified.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    
    	if len(schema.Properties) != 0 {
    		for property, jsonSchema := range schema.Properties {
    			subSsv := ssv
    
    			if !cel.MapIsCorrelatable(schema.XMapType) {
    				subSsv = subSsv.withForbidOldSelfValidations(fldPath)
    			}
    
    			if (isRoot || schema.XEmbeddedResource) && metaFields.Has(property) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top