Ash Wilson | 9ccf9b6 | 2014-09-17 10:07:52 -0400 | [diff] [blame] | 1 | package images |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Ash Wilson | 31f6bde | 2014-09-25 14:52:12 -0400 | [diff] [blame] | 5 | func listURL(client *gophercloud.ServiceClient) string { |
Ash Wilson | 9ccf9b6 | 2014-09-17 10:07:52 -0400 | [diff] [blame] | 6 | return client.ServiceURL("images", "detail") |
| 7 | } |
Ash Wilson | 7ddf036 | 2014-09-17 10:59:09 -0400 | [diff] [blame] | 8 | |
Ash Wilson | 31f6bde | 2014-09-25 14:52:12 -0400 | [diff] [blame] | 9 | func imageURL(client *gophercloud.ServiceClient, id string) string { |
Ash Wilson | 7ddf036 | 2014-09-17 10:59:09 -0400 | [diff] [blame] | 10 | return client.ServiceURL("images", id) |
| 11 | } |