blob: d2ec62cff22fc681cfcc9cb5a64dc87719d576cf [file] [log] [blame]
Ash Wilsone47ea9e2014-09-10 16:03:44 -04001package objects
2
Jon Perrittea4e3012014-10-09 22:03:19 -05003import (
4 "github.com/rackspace/gophercloud"
5)
Ash Wilsone47ea9e2014-09-10 16:03:44 -04006
Jon Perrittea4e3012014-10-09 22:03:19 -05007func listURL(c *gophercloud.ServiceClient, container string) string {
8 return c.ServiceURL(container)
9}
10
11func copyURL(c *gophercloud.ServiceClient, container, object string) string {
Ash Wilsone47ea9e2014-09-10 16:03:44 -040012 return c.ServiceURL(container, object)
13}
14
Jon Perrittea4e3012014-10-09 22:03:19 -050015func createURL(c *gophercloud.ServiceClient, container, object string) string {
16 return copyURL(c, container, object)
17}
18
19func getURL(c *gophercloud.ServiceClient, container, object string) string {
20 return copyURL(c, container, object)
21}
22
23func deleteURL(c *gophercloud.ServiceClient, container, object string) string {
24 return copyURL(c, container, object)
25}
26
27func downloadURL(c *gophercloud.ServiceClient, container, object string) string {
28 return copyURL(c, container, object)
29}
30
31func updateURL(c *gophercloud.ServiceClient, container, object string) string {
32 return copyURL(c, container, object)
Ash Wilsone47ea9e2014-09-10 16:03:44 -040033}