Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateKubeSchedulerProfile (0.5 sec)

  1. pkg/scheduler/apis/config/validation/validation.go

    	} else {
    		existingProfiles := make(map[string]int, len(cc.Profiles))
    		for i := range cc.Profiles {
    			profile := &cc.Profiles[i]
    			path := profilesPath.Index(i)
    			errs = append(errs, validateKubeSchedulerProfile(path, cc.APIVersion, profile)...)
    			if idx, ok := existingProfiles[profile.SchedulerName]; ok {
    				errs = append(errs, field.Duplicate(path.Child("schedulerName"), profilesPath.Index(idx).Child("schedulerName")))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top