Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForAttachCallCount (0.4 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	verifyNewAttacherCallCount(t, true /* expectZeroNewAttacherCallCount */, fakePlugin)
    	verifyNewDetacherCallCount(t, true /* expectZeroNewDetacherCallCount */, fakePlugin)
    	waitForAttachCallCount(t, 0 /* expectedAttachCallCount */, fakePlugin)
    	waitForDetachCallCount(t, 0 /* expectedDetachCallCount */, fakePlugin)
    }
    
    // Populates desiredStateOfWorld cache with one node/volume/pod tuple.
    // Calls Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    	fv.Lock()
    	defer fv.Unlock()
    	fv.WaitForAttachCallCount++
    	if fv.WaitForAttachHook != nil {
    		return fv.WaitForAttachHook(spec, devicePath, pod, spectimeout)
    	}
    	return "/dev/sdb", nil
    }
    
    func (fv *FakeVolume) GetWaitForAttachCallCount() int {
    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.WaitForAttachCallCount
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top