blob: a786d818c83160b29db14e3528590d4182fe1dd7 [file] [log] [blame]
Krzysztof Szukiełojće28b2e22017-07-31 11:31:06 +02001package volumes
2
3import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
4
5func createURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("volumes")
7}
8
9func listURL(c *gophercloud.ServiceClient) string {
10 return c.ServiceURL("volumes", "detail")
11}
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}