code: func HandleResourceRequirements(params map[string]string) (api.ResourceRequirements, error) {
  	result := api.ResourceRequirements{}
  	limits, err := populateResourceList(params["limits"])
  	if err != nil {
  		return result, err
  	}
  	result.Limits = limits
  	requests, err := populateResourceList(params["requests"])
  	if err != nil {
  		return result, err
  	}
  	result.Requests = requests
  	return result, nil
  }
docs: // HandleResourceRequirements parses the limits and requests parameters if specified