- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for compareThresholdValue (0.19 sec)
-
pkg/kubelet/eviction/helpers.go
if input.GracePeriod == item.GracePeriod && input.Operator == item.Operator && input.Signal == item.Signal && compareThresholdValue(input.Value, item.Value) { return true } } return false } // compareThresholdValue returns true if the two thresholdValue objects are logically the same func compareThresholdValue(a evictionapi.ThresholdValue, b evictionapi.ThresholdValue) bool { if a.Quantity != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
func thresholdEqual(a evictionapi.Threshold, b evictionapi.Threshold) bool { return a.GracePeriod == b.GracePeriod && a.Operator == b.Operator && a.Signal == b.Signal && compareThresholdValue(*a.MinReclaim, *b.MinReclaim) && compareThresholdValue(a.Value, b.Value) } func TestOrderedByExceedsRequestMemory(t *testing.T) { below := newPod("below-requests", -1, []v1.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0)