code: func (i *Image) getResponse(path string) (*http.Response, error) {
  	errors := make(map[string]error)
  
  	for _, ep := range i.endpoints {
  		resp, err := i.getResponseFromURL(fmt.Sprintf("%s://%s/%s", i.scheme, ep, path))
  		if err != nil {
  			errors[ep] = err
  			continue
  		}
  
  		return resp, nil
  	}
  
  	return nil, combineEndpointErrors(errors)
  }
docs: // getAPIResponse takes a path and tries to get Docker API response from each
  // available Docker API endpoint. It returns raw HTTP response.