blob: 29629a1af8d628e7459321ec6ce42bf21a78ebea [file] [log] [blame]
feiskyda546142015-09-17 12:28:23 +08001package volumes
2
3import "github.com/rackspace/gophercloud"
4
5func createURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("volumes")
7}
8
9func listURL(c *gophercloud.ServiceClient) string {
10 return createURL(c)
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}