Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateTolerations (0.52 sec)

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

    			allErrs = append(allErrs, ValidateDNS1123Subdomain(hostname, fldPath.Index(i).Child("hostnames").Index(j))...)
    		}
    	}
    	return allErrs
    }
    
    // ValidateTolerations tests if given tolerations have valid data.
    func ValidateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList {
    	allErrors := field.ErrorList{}
    	for i, toleration := range tolerations {
    		idxPath := fldPath.Index(i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
Back to top