Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for havePodClaim (0.11 sec)

  1. pkg/apis/core/validation/validation.go

    	for i, status := range statuses {
    		idxPath := fldPath.Index(i)
    		// There's no need to check the content of the name. If it matches an entry,
    		// then it is valid, otherwise we reject it here.
    		if !havePodClaim(podClaims, status.Name) {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("name"), status.Name, "must match the name of an entry in `spec.resourceClaims`"))
    		}
    		if claimNames.Has(status.Name) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top