Jon Perritt | a67af87 | 2014-09-17 00:50:32 -0500 | [diff] [blame^] | 1 | package volumes |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
| 5 | func volumesURL(c *gophercloud.ServiceClient) string { |
| 6 | return c.ServiceURL("volumes") |
| 7 | } |
| 8 | |
| 9 | func volumeURL(c *gophercloud.ServiceClient, id string) string { |
| 10 | return c.ServiceURL("volumes", id) |
| 11 | } |
| 12 | |
| 13 | func snapshotsURL(c *gophercloud.ServiceClient) string { |
| 14 | return c.ServiceURL("snapshots") |
| 15 | } |
| 16 | |
| 17 | func snapshotURL(c *gophercloud.ServiceClient, id string) string { |
| 18 | return c.ServiceURL("snapshots", id) |
| 19 | } |