forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.go
33 lines (25 loc) · 894 Bytes
/
urls.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package objects
import (
"github.com/rackspace/gophercloud"
)
func listURL(c *gophercloud.ServiceClient, container string) string {
return c.ServiceURL(container)
}
func copyURL(c *gophercloud.ServiceClient, container, object string) string {
return c.ServiceURL(container, object)
}
func createURL(c *gophercloud.ServiceClient, container, object string) string {
return copyURL(c, container, object)
}
func getURL(c *gophercloud.ServiceClient, container, object string) string {
return copyURL(c, container, object)
}
func deleteURL(c *gophercloud.ServiceClient, container, object string) string {
return copyURL(c, container, object)
}
func downloadURL(c *gophercloud.ServiceClient, container, object string) string {
return copyURL(c, container, object)
}
func updateURL(c *gophercloud.ServiceClient, container, object string) string {
return copyURL(c, container, object)
}