Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 1 | package flavors |
| 2 | |
| 3 | import ( |
Krzysztof Szukiełojć | 3f41d08 | 2017-05-07 14:43:06 +0200 | [diff] [blame] | 4 | "gerrit.mcp.mirantis.net/debian/gophercloud.git" |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 5 | ) |
| 6 | |
Jon Perritt | 9af0385 | 2014-10-07 13:41:35 -0500 | [diff] [blame] | 7 | func getURL(client *gophercloud.ServiceClient, id string) string { |
| 8 | return client.ServiceURL("flavors", id) |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 9 | } |
| 10 | |
Jon Perritt | 9af0385 | 2014-10-07 13:41:35 -0500 | [diff] [blame] | 11 | func listURL(client *gophercloud.ServiceClient) string { |
| 12 | return client.ServiceURL("flavors", "detail") |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 13 | } |
jrperritt | 8cab8b8 | 2017-02-16 14:48:18 -0600 | [diff] [blame] | 14 | |
| 15 | func createURL(client *gophercloud.ServiceClient) string { |
| 16 | return client.ServiceURL("flavors") |
| 17 | } |