code: func CalculateTimeoutForVolume(minimumTimeout, timeoutIncrement int, pv *v1.PersistentVolume) int64 {
  	giQty := resource.MustParse("1Gi")
  	pvQty := pv.Spec.Capacity[v1.ResourceStorage]
  	giSize := giQty.Value()
  	pvSize := pvQty.Value()
  	timeout := (pvSize / giSize) * int64(timeoutIncrement)
  	if timeout < int64(minimumTimeout) {
  		return int64(minimumTimeout)
  	}
  	return timeout
  }
docs: // CalculateTimeoutForVolume calculates time for a Recycler pod to complete a
  // recycle operation. The calculation and return value is either the
  // minimumTimeout or the timeoutIncrement per Gi of storage size, whichever is
  // greater.