code: func GetThresholdQuantity(value ThresholdValue, capacity *resource.Quantity) *resource.Quantity {
  	if value.Quantity != nil {
  		return value.Quantity.Copy()
  	}
  	return resource.NewQuantity(int64(float64(capacity.Value())*float64(value.Percentage)), resource.BinarySI)
  }
docs: // GetThresholdQuantity returns the expected quantity value for a thresholdValue