github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/blockstorage/extensions/quotasets/urls.go (about)

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