blob: 11529ad64423ce090d55e546f36a2c9172f11551 [file] [log] [blame]
Michal Kobusf6113582019-09-09 15:58:21 +02001package allocations
2
3import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
4
5func createURL(client *gophercloud.ServiceClient) string {
6 return client.ServiceURL("allocations")
7}
8
9func listURL(client *gophercloud.ServiceClient) string {
10 return createURL(client)
11}
12
13func resourceURL(client *gophercloud.ServiceClient, id string) string {
14 return client.ServiceURL("allocations", id)
15}
16
17func deleteURL(client *gophercloud.ServiceClient, id string) string {
18 return resourceURL(client, id)
19}
20
21func getURL(client *gophercloud.ServiceClient, id string) string {
22 return resourceURL(client, id)
23}