Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAndUpdateContainerUsageNanoCores (0.3 sec)

  1. pkg/kubelet/stats/cri_stats_provider_test.go

    		cached := provider.getContainerUsageNanoCores(test.stats)
    		assert.Nil(t, cached)
    
    		// Update the cache and get the latest value.
    		real := provider.getAndUpdateContainerUsageNanoCores(test.stats)
    		assert.Equal(t, test.expected, real, test.desc)
    
    		// After the update, the cached value should be up-to-date
    		cached = provider.getContainerUsageNanoCores(test.stats)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top