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