github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/objectstorage/v1/containers/urls.go (about) 1 package containers 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func listURL(c *golangsdk.ServiceClient) string { 6 return c.Endpoint 7 } 8 9 func createURL(c *golangsdk.ServiceClient, container string) string { 10 return c.ServiceURL(container) 11 } 12 13 func getURL(c *golangsdk.ServiceClient, container string) string { 14 return createURL(c, container) 15 } 16 17 func deleteURL(c *golangsdk.ServiceClient, container string) string { 18 return createURL(c, container) 19 } 20 21 func updateURL(c *golangsdk.ServiceClient, container string) string { 22 return createURL(c, container) 23 }