Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasXValidations (0.22 sec)

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

    	return mapType == nil || *mapType == "granular" || *mapType == "atomic"
    }
    
    func hasXValidations(s *schema.Structural) bool {
    	if s == nil {
    		return false
    	}
    	if len(s.XValidations) > 0 {
    		return true
    	}
    	if hasXValidations(s.Items) {
    		return true
    	}
    	if s.AdditionalProperties != nil && hasXValidations(s.AdditionalProperties.Structural) {
    		return true
    	}
    	if s.Properties != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top