1package objects 2 3import ( 4 "github.com/gophercloud/gophercloud" 5) 6 7func listURL(c *gophercloud.ServiceClient, container string) string { 8 return c.ServiceURL(container) 9} 10 11func copyURL(c *gophercloud.ServiceClient, container, object string) string { 12 return c.ServiceURL(container, object) 13} 14 15func 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) 33} 34 35func bulkDeleteURL(c *gophercloud.ServiceClient) string { 36 return c.Endpoint + "?bulk-delete=true" 37} 38