Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 1 | package containers |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Jon Perritt | b346140 | 2014-10-09 21:36:17 -0500 | [diff] [blame] | 5 | func listURL(c *gophercloud.ServiceClient) string { |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 6 | return c.Endpoint |
| 7 | } |
| 8 | |
Jon Perritt | b346140 | 2014-10-09 21:36:17 -0500 | [diff] [blame] | 9 | func createURL(c *gophercloud.ServiceClient, container string) string { |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 10 | return c.ServiceURL(container) |
| 11 | } |
Jon Perritt | b346140 | 2014-10-09 21:36:17 -0500 | [diff] [blame] | 12 | |
| 13 | func getURL(c *gophercloud.ServiceClient, container string) string { |
| 14 | return createURL(c, container) |
| 15 | } |
| 16 | |
| 17 | func deleteURL(c *gophercloud.ServiceClient, container string) string { |
| 18 | return createURL(c, container) |
| 19 | } |
| 20 | |
| 21 | func updateURL(c *gophercloud.ServiceClient, container string) string { |
| 22 | return createURL(c, container) |
| 23 | } |