code: func (resizeMap *volumeResizeMap) GetPVCsWithResizeRequest() []*PVCWithResizeRequest {
  	resizeMap.Lock()
  	defer resizeMap.Unlock()
  
  	pvcrs := []*PVCWithResizeRequest{}
  	for _, pvcr := range resizeMap.pvcrs {
  		pvcrs = append(pvcrs, pvcr)
  	}
  	// Empty out pvcrs map, we will add back failed resize requests later
  	resizeMap.pvcrs = map[types.UniquePVCName]*PVCWithResizeRequest{}
  	return pvcrs
  }
docs: // GetPVCsWithResizeRequest returns all pending pvc resize requests