func (c *Client) DockerResourceUploadInfo(id *charm.URL, resourceName string) (*params.DockerInfoResponse, error) {
	path := fmt.Sprintf("/%s/docker-resource-upload-info?resource-name=%s", id.Path(), url.QueryEscape(resourceName))
	var result params.DockerInfoResponse
	if err := c.Get(path, &result); err != nil {
		return nil, errgo.Mask(err)
	}
	return &result, nil
}
// DockerResourceUploadInfo returns information on how to upload an image
// to the charm store's associated docker registry.
// The returned information includes a tag to associate with the image
// and username and password to use for push authentication.
DockerResourceUploadInfo returns information on how to upload an image
to the charm store's associated docker registry.
The returned information includes a tag to associate with the image
and username and password to use for push authentication.
// DockerResourceUploadInfo returns information on how to upload an image // to the charm store ' s associated docker registry . // The returned information includes a tag to associate with the image // and username and password to use for push authentication .
func (c *Client) DockerResourceUploadInfo(id *charm.URL, resourceName string) (*params.DockerInfoResponse, error) {
	path := fmt.Sprintf("/%s/docker-resource-upload-info?resource-name=%s", id.Path(), url.QueryEscape(resourceName))
	var result params.DockerInfoResponse
	if err := c.Get(path, &result); err != nil {
		return nil, errgo.Mask(err)
	}
	return &result, nil
}
func ( c * Client ) DockerResourceUploadInfo ( id * charm . URL , resourceName string ) ( * params . DockerInfoResponse , error ) { path := fmt . Sprintf ( " " , id . Path ( ) , url . QueryEscape ( resourceName ) ) var result params . DockerInfoResponse if err := c . Get ( path , & result ) ; err != nil { return nil , errgo . Mask ( err ) } return & result , nil }
DockerResourceUploadInfo returns information on how to upload an image
to the charm store's associated docker registry.
DockerResourceUploadInfo returns information on how to upload an image to the charm store ' s associated docker registry .