blob: c31a6058833b2e1ea31f8e863750707c77798200 [file] [log] [blame]
Ash Wilson9ccf9b62014-09-17 10:07:52 -04001package images
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Ash Wilson9ccf9b62014-09-17 10:07:52 -04004
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}