Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareThresholdValue (0.13 sec)

  1. 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)
Back to top