Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateResourcesNoSubResources (0.33 sec)

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

    		allErrors = append(allErrors, field.Invalid(fldPath, resources, "if '*' is present, must not specify other resources without subresources"))
    	}
    	return allErrors
    }
    
    func validateResourcesNoSubResources(resources []string, fldPath *field.Path) field.ErrorList {
    	var allErrors field.ErrorList
    	if len(resources) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath, ""))
    	}
    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