blob: a786d818c83160b29db14e3528590d4182fe1dd7 [file] [log] [blame]
feiskyda546142015-09-17 12:28:23 +08001package volumes
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
feiskyda546142015-09-17 12:28:23 +08004
5func createURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("volumes")
7}
8
9func listURL(c *gophercloud.ServiceClient) string {
feiskycf0c7fe2015-11-05 22:06:17 +080010 return c.ServiceURL("volumes", "detail")
feiskyda546142015-09-17 12:28:23 +080011}
12
13func deleteURL(c *gophercloud.ServiceClient, id string) string {
14 return c.ServiceURL("volumes", id)
15}
16
17func getURL(c *gophercloud.ServiceClient, id string) string {
18 return deleteURL(c, id)
19}
20
21func updateURL(c *gophercloud.ServiceClient, id string) string {
22 return deleteURL(c, id)
23}