kubernetes/pkg/scheduler/util
Jan Chaloupka b9356df066 Drop IsScalarResourceName check in GetNonzeroRequestForResource
All invokers of GetNonzeroRequestForResource in k/k are either setting
the resource name to CPU/Memory or are checking if the requested
resource name is scalar after the invocation.
Thus, it's unnecessary to check for scalar resource name again.
In the worst case, GetNonzeroRequestForResource returns non-zero
resource quantity which can be ignored by an invoker by running
IsResourceName helpers afterwards.
2021-04-30 13:00:55 +02:00
..
clock.go Reschedule with backoff 2018-12-06 16:38:34 +00:00
non_zero.go Drop IsScalarResourceName check in GetNonzeroRequestForResource 2021-04-30 13:00:55 +02:00
non_zero_test.go Add test case in scheduler/util/non_zero_test.go to improve the test coverage. 2020-04-09 17:42:43 +09:00
utils.go Implements pod affinity NamespaceSelector feature 2021-03-04 07:30:24 -05:00
utils_test.go Organize scheduler unit tests into subtests 2021-02-02 21:41:20 +08:00