func fakePodWithVol(namespace string) *v1.Pod { … }
func fakePodWithPVC(name, pvcName, namespace string) (*v1.Pod, *v1.PersistentVolumeClaim) { … }
var defaultTimerConfig …
func TestPodDeletionWithDswp(t *testing.T) { … }
func initCSIObjects(stopCh <-chan struct{ … }
func TestPodUpdateWithWithADC(t *testing.T) { … }
func waitToObservePods(t *testing.T, podInformer cache.SharedIndexInformer, podNum int) { … }
func waitForPodsInDSWP(t *testing.T, dswp volumecache.DesiredStateOfWorld) { … }
func waitForPodFuncInDSWP(t *testing.T, dswp volumecache.DesiredStateOfWorld, checkTimeout time.Duration, failMessage string, podCount int) { … }
func createAdClients(ctx context.Context, t *testing.T, server *kubeapiservertesting.TestServer, syncPeriod time.Duration, timers attachdetach.TimerConfig) (*clientset.Clientset, attachdetach.AttachDetachController, *persistentvolume.PersistentVolumeController, clientgoinformers.SharedInformerFactory) { … }
func TestPodAddedByDswp(t *testing.T) { … }
func TestPVCBoundWithADC(t *testing.T) { … }
func createPVForPVC(t *testing.T, testClient *clientset.Clientset, pvc *v1.PersistentVolumeClaim) { … }