blob: b1bf1038fb0880d9acae976778d1e32b550c67ed [file] [log] [blame]
Ash Wilson9ccf9b62014-09-17 10:07:52 -04001package images
2
3import "github.com/rackspace/gophercloud"
4
Jon Perrittef168e62014-10-08 11:14:05 -05005func listDetailURL(client *gophercloud.ServiceClient) string {
Ash Wilson9ccf9b62014-09-17 10:07:52 -04006 return client.ServiceURL("images", "detail")
7}
Ash Wilson7ddf0362014-09-17 10:59:09 -04008
Jon Perrittef168e62014-10-08 11:14:05 -05009func getURL(client *gophercloud.ServiceClient, id string) string {
Ash Wilson7ddf0362014-09-17 10:59:09 -040010 return client.ServiceURL("images", id)
11}
Jesse Nelson8c1e0372015-04-16 10:54:40 -070012
13func deleteURL(client *gophercloud.ServiceClient, id string) string {
14 return client.ServiceURL("images", id)
15}