- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fakevolume (0.2 sec)
-
pkg/kubelet/server/stats/volume_stat_calculator_test.go
case <-time.After(5 * time.Second): return "", ErrorWatchTimeout } } // Fake volume/metrics provider var _ volume.Volume = &fakeVolume{} type fakeVolume struct{} func (v *fakeVolume) GetPath() string { return "" } func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) { return expectedMetrics(), nil } func expectedMetrics() *volume.Metrics { vMetrics := &volume.Metrics{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/volume/flexvolume/flexvolume_test.go
exit 0 elif [ "$1" == "detach" -a $# -eq 2 ]; then echo -n '{ "status": "Success" }' exit 0 elif [ "$1" == "getvolumename" -a $# -eq 4 ]; then echo -n '{ "status": "Success", "volume": "fakevolume" }' exit 0 elif [ "$1" == "isattached" -a $# -eq 2 ]; then echo -n '{ "status": "Success", "attached": true }' exit 0 fi echo -n '{ "status": "Not supported" }'
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 6.8K bytes - Viewed (0)