blob: 2900b89b236d487ebe8fb5d99e4e981ae78f5b2d [file] [log] [blame]
Dan Kirkwoodceb84092016-03-01 13:58:34 -07001package quotas
2
3import "github.com/rackspace/gophercloud"
4
5const resourcePath = "os-quota-sets"
6
7func resourceURL(c *gophercloud.ServiceClient) string {
8 return c.ServiceURL(resourcePath)
9}
10
11func listURL(c *gophercloud.ServiceClient) string {
12 return resourceURL(c)
13}
14
15func createURL(c *gophercloud.ServiceClient) string {
16 return resourceURL(c)
17}
18
19func getURL(c *gophercloud.ServiceClient, name string) string {
20 return c.ServiceURL(resourcePath, name)
21}
22
23func deleteURL(c *gophercloud.ServiceClient, name string) string {
24 return getURL(c, name)
25}