- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for combinedScores (0.18 sec)
-
pkg/scheduler/testing/framework/fake_extender.go
if err != nil { return &extenderv1.HostPriorityList{}, 0, err } for _, hostEntry := range *prioritizedList { combinedScores[hostEntry.Name] += hostEntry.Score * weight } } for host, score := range combinedScores { result = append(result, extenderv1.HostPriority{Host: host, Score: score}) } return &result, f.Weight, nil } // Bind implements the extender Bind function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.9K bytes - Viewed (0)