- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getVolumeCount (0.15 sec)
-
pkg/kubelet/volumemanager/metrics/metrics_test.go
// Check if getVolumeCount returns correct data count := metricCollector.getVolumeCount() if len(count) != 2 { t.Errorf("getVolumeCount failed. Expected <2> states, got <%d>", len(count)) } dswCount, ok := count["desired_state_of_world"] if !ok { t.Errorf("getVolumeCount failed. Expected <desired_state_of_world>, got nothing") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/metrics/metrics.go
for stateName, pluginCount := range c.getVolumeCount() { for pluginName, count := range pluginCount { ch <- metrics.NewLazyConstMetric(totalVolumesDesc, metrics.GaugeValue, float64(count), pluginName, stateName) } } } func (c *totalVolumesCollector) getVolumeCount() volumeCount { counter := make(volumeCount)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 06 16:48:59 UTC 2023 - 5.2K bytes - Viewed (0)