blob: 60f5bd135e99e922e57c54422b25765dbd7f8029 [file] [log] [blame]
Jon Perritta67af872014-09-17 00:50:32 -05001package volumes
2
3import "github.com/rackspace/gophercloud"
4
5func volumesURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("volumes")
7}
8
9func volumeURL(c *gophercloud.ServiceClient, id string) string {
10 return c.ServiceURL("volumes", id)
11}
12
13func snapshotsURL(c *gophercloud.ServiceClient) string {
14 return c.ServiceURL("snapshots")
15}
16
17func snapshotURL(c *gophercloud.ServiceClient, id string) string {
18 return c.ServiceURL("snapshots", id)
19}