blob: 9b380470dd788bb9b7c391fed53f93289a511225 [file] [log] [blame]
Ash Wilsone47ea9e2014-09-10 16:03:44 -04001package containers
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/gophercloud"
Ash Wilsone47ea9e2014-09-10 16:03:44 -04004
Jon Perrittb3461402014-10-09 21:36:17 -05005func listURL(c *gophercloud.ServiceClient) string {
Ash Wilsone47ea9e2014-09-10 16:03:44 -04006 return c.Endpoint
7}
8
Jon Perrittb3461402014-10-09 21:36:17 -05009func createURL(c *gophercloud.ServiceClient, container string) string {
Ash Wilsone47ea9e2014-09-10 16:03:44 -040010 return c.ServiceURL(container)
11}
Jon Perrittb3461402014-10-09 21:36:17 -050012
13func getURL(c *gophercloud.ServiceClient, container string) string {
14 return createURL(c, container)
15}
16
17func deleteURL(c *gophercloud.ServiceClient, container string) string {
18 return createURL(c, container)
19}
20
21func updateURL(c *gophercloud.ServiceClient, container string) string {
22 return createURL(c, container)
23}