| Ildar Svetlov | 9ae28ba | 2020-03-27 15:01:41 +0400 | [diff] [blame] | 1 | package quotasets |
| 2 | |
| 3 | import "gerrit.mcp.mirantis.net/debian/gophercloud.git" |
| 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 | } |