code: func addResourceList(list, new api.ResourceList) {
  	for name, quantity := range new {
  		if value, ok := list[name]; !ok {
  			list[name] = *quantity.Copy()
  		} else {
  			value.Add(quantity)
  			list[name] = value
  		}
  	}
  }
docs: // addResourceList adds the resources in newList to list