- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TearDownDevice (0.15 sec)
-
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
// Populates desiredStateOfWorld cache with one volume/pod. // Enables controllerAttachDetachEnabled. // Calls Run() // Verifies two map path calls are made and no teardownDevice/detach calls. // Deletes volume/pod from desired state of world. // Verifies one teardownDevice call is made. // Verifies there are no attach/detach calls made. func Test_Run_Positive_VolumeUnmapControllerAttachEnabled(t *testing.T) { pod := &v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/volume/testing/testing.go
// Block volume support func (fv *FakeVolume) GetPodDeviceMapPathCallCount() int { fv.RLock() defer fv.RUnlock() return fv.PodDeviceMapPathCallCount } // Block volume support func (fv *FakeVolume) TearDownDevice(mapPath string, devicePath string) error { fv.Lock() defer fv.Unlock() fv.TearDownDeviceCallCount++ return nil } // Block volume support func (fv *FakeVolume) GetTearDownDeviceCallCount() int {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)