blob: 047b9ae174bf93849c01dd39ef6240519fc00422 [file] [log] [blame]
package imagedata
import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
// `imageDataURL(c,i)` is the URL for the binary image data for the
// image identified by ID `i` in the service `c`.
func uploadURL(c *gophercloud.ServiceClient, imageID string) string {
return c.ServiceURL("images", imageID, "file")
}
func downloadURL(c *gophercloud.ServiceClient, imageID string) string {
return uploadURL(c, imageID)
}