| import "github.com/rackspace/gophercloud" |
| func createURL(c *gophercloud.ServiceClient) string { |
| return c.ServiceURL("snapshots") |
| func deleteURL(c *gophercloud.ServiceClient, id string) string { |
| return c.ServiceURL("snapshots", id) |
| func getURL(c *gophercloud.ServiceClient, id string) string { |
| func listURL(c *gophercloud.ServiceClient) string { |
| func metadataURL(c *gophercloud.ServiceClient, id string) string { |
| return c.ServiceURL("snapshots", id, "metadata") |
| func updateMetadataURL(c *gophercloud.ServiceClient, id string) string { |
| return metadataURL(c, id) |