Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for subResourcesWithWildcardResource (0.4 sec)

  1. pkg/apis/admissionregistration/validation/validation.go

    		}
    		if _, ok := subResourcesWithWildcardResource[sub]; ok {
    			allErrors = append(allErrors, field.Invalid(fldPath.Index(i), resSub, fmt.Sprintf("if '*/%s' is present, must not specify %s", sub, resSub)))
    		}
    		if sub == "*" {
    			resourcesWithWildcardSubresoures[res] = struct{}{}
    		}
    		if res == "*" {
    			subResourcesWithWildcardResource[sub] = struct{}{}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
Back to top