Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetReclaimableThreshold (0.42 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    func quantityMustParse(value string) *resource.Quantity {
    	q := resource.MustParse(value)
    	return &q
    }
    
    func TestGetReclaimableThreshold(t *testing.T) {
    	testCases := map[string]struct {
    		thresholds []evictionapi.Threshold
    	}{
    		"": {
    			thresholds: []evictionapi.Threshold{
    				{
    					Signal:   evictionapi.SignalAllocatableMemoryAvailable,
    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