const defaultObjectCount …
const defaultSyncPeriod …
const provisionerPluginName …
func getObjectCount() int { … }
func getSyncPeriod(syncPeriod time.Duration) time.Duration { … }
func testSleep() { … }
func TestPersistentVolumeRecycler(t *testing.T) { … }
func TestPersistentVolumeDeleter(t *testing.T) { … }
func TestPersistentVolumeBindRace(t *testing.T) { … }
func TestPersistentVolumeClaimLabelSelector(t *testing.T) { … }
func TestPersistentVolumeClaimLabelSelectorMatchExpressions(t *testing.T) { … }
func TestPersistentVolumeMultiPVs(t *testing.T) { … }
func TestPersistentVolumeClaimVolumeAttirbutesClassName(t *testing.T) { … }
func TestPersistentVolumeMultiPVsPVCs(t *testing.T) { … }
func TestPersistentVolumeControllerStartup(t *testing.T) { … }
func TestPersistentVolumeProvisionMultiPVCs(t *testing.T) { … }
func TestPersistentVolumeMultiPVsDiffAccessModes(t *testing.T) { … }
func TestRetroactiveStorageClassAssignment(t *testing.T) { … }
func waitForPersistentVolumePhase(client *clientset.Clientset, pvName string, w watch.Interface, phase v1.PersistentVolumePhase) { … }
func waitForPersistentVolumeClaimPhase(client *clientset.Clientset, claimName, namespace string, w watch.Interface, phase v1.PersistentVolumeClaimPhase) { … }
func waitForAnyPersistentVolumePhase(w watch.Interface, phase v1.PersistentVolumePhase) { … }
func waitForSomePersistentVolumeClaimPhase(ctx context.Context, testClient clientset.Interface, namespace string, objCount int, watchPVC watch.Interface, phase v1.PersistentVolumeClaimPhase) error { … }
func waitForAnyPersistentVolumeClaimPhase(w watch.Interface, phase v1.PersistentVolumeClaimPhase) error { … }
func waitForPersistentVolumeClaimStorageClass(t *testing.T, claimName, scName string, w watch.Interface, duration time.Duration) (*v1.PersistentVolumeClaim, bool) { … }
func createClients(ctx context.Context, namespaceName string, t *testing.T, s *kubeapiservertesting.TestServer, syncPeriod time.Duration) (*clientset.Clientset, *persistentvolumecontroller.PersistentVolumeController, informers.SharedInformerFactory, watch.Interface, watch.Interface) { … }
func createPV(name, path, cap string, mode []v1.PersistentVolumeAccessMode, reclaim v1.PersistentVolumeReclaimPolicy) *v1.PersistentVolume { … }
func createPVWithStorageClass(name, path, cap, scName string, mode []v1.PersistentVolumeAccessMode, reclaim v1.PersistentVolumeReclaimPolicy) *v1.PersistentVolume { … }
func createPVC(name, namespace, cap string, mode []v1.PersistentVolumeAccessMode, class string) *v1.PersistentVolumeClaim { … }
func createPVCWithNilStorageClass(name, namespace, cap string, mode []v1.PersistentVolumeAccessMode) *v1.PersistentVolumeClaim { … }
func createCSIPV(name, cap string, mode []v1.PersistentVolumeAccessMode, reclaim v1.PersistentVolumeReclaimPolicy) *v1.PersistentVolume { … }