Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for metav1validation (0.14 sec)

  1. pkg/api/pod/util.go

    func hasInvalidTopologySpreadConstraintLabelSelector(spec *api.PodSpec) bool {
    	for _, constraint := range spec.TopologySpreadConstraints {
    		errs := metavalidation.ValidateLabelSelector(constraint.LabelSelector, metavalidation.LabelSelectorValidationOptions{AllowInvalidLabelValueInSelector: false}, nil)
    		if len(errs) != 0 {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top