blob: 170724905abe43668c7751aa4f597739ebbb18d5 [file] [log] [blame]
feiskyda546142015-09-17 12:28:23 +08001package volumes
2
jrperritt9b7b9e62016-07-11 22:30:50 -05003import "github.com/gophercloud/gophercloud"
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}