blob: 1fba536f680fffe6684fdc8aed66ae92ac0dcc4c [file] [log] [blame]
Ildar Svetlov9ae28ba2020-03-27 15:01:41 +04001package quotasets
2
3import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
4
5const resourcePath = "os-quota-sets"
6
7func getURL(c *gophercloud.ServiceClient, projectID string) string {
8 return c.ServiceURL(resourcePath, projectID)
9}
10
11func getDefaultsURL(c *gophercloud.ServiceClient, projectID string) string {
12 return c.ServiceURL(resourcePath, projectID, "defaults")
13}
14
15func updateURL(c *gophercloud.ServiceClient, projectID string) string {
16 return getURL(c, projectID)
17}
18
19func deleteURL(c *gophercloud.ServiceClient, projectID string) string {
20 return getURL(c, projectID)
21}