github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/compute/v2/extensions/quotasets/urls.go (about)

     1  package quotasets
     2  
     3  import "github.com/opentelekomcloud/gophertelekomcloud"
     4  
     5  const resourcePath = "os-quota-sets"
     6  
     7  func getURL(c *golangsdk.ServiceClient, tenantID string) string {
     8  	return c.ServiceURL(resourcePath, tenantID)
     9  }
    10  
    11  func getDetailURL(c *golangsdk.ServiceClient, tenantID string) string {
    12  	return c.ServiceURL(resourcePath, tenantID, "detail")
    13  }
    14  
    15  func updateURL(c *golangsdk.ServiceClient, tenantID string) string {
    16  	return getURL(c, tenantID)
    17  }
    18  
    19  func deleteURL(c *golangsdk.ServiceClient, tenantID string) string {
    20  	return getURL(c, tenantID)
    21  }