const ebsCSIDriverName … const gceCSIDriverName … const hostpathInTreePluginName … var scName … func TestCSILimits(t *testing.T) { … } func TestCSILimitsQHint(t *testing.T) { … } func TestCSILimitsAddedPVCQHint(t *testing.T) { … } func getFakeVolumeAttachmentLister(count int, driverNames ...string) tf.VolumeAttachmentLister { … } func getFakeCSIPVLister(volumeName string, driverNames ...string) tf.PersistentVolumeLister { … } func getFakeCSIPVCLister(volumeName, scName string, driverNames ...string) tf.PersistentVolumeClaimLister { … } func enableMigrationOnNode(csiNode *storagev1.CSINode, pluginName string) { … } func getFakeCSIStorageClassLister(scName, provisionerName string) tf.StorageClassLister { … } func getFakeCSINodeLister(csiNode *storagev1.CSINode) tf.CSINodeLister { … } func getNodeWithPodAndVolumeLimits(limitSource string, pods []*v1.Pod, limit int32, driverNames ...string) (*framework.NodeInfo, *storagev1.CSINode) { … }