Michal Kobus | a1c3ca9 | 2019-08-21 14:29:23 +0200 | [diff] [blame] | 1 | package drivers |
| 2 | |
| 3 | import "gerrit.mcp.mirantis.net/debian/gophercloud.git" |
| 4 | |
Michal Kobus | f611358 | 2019-09-09 15:58:21 +0200 | [diff] [blame] | 5 | func driversURL(client *gophercloud.ServiceClient) string { |
| 6 | return client.ServiceURL("drivers") |
| 7 | } |
| 8 | |
| 9 | func driverDetailsURL(client *gophercloud.ServiceClient, driverName string) string { |
| 10 | return client.ServiceURL("drivers", driverName) |
| 11 | } |
| 12 | |
| 13 | func driverPropertiesURL(client *gophercloud.ServiceClient, driverName string) string { |
| 14 | return client.ServiceURL("drivers", driverName, "properties") |
| 15 | } |
| 16 | |
| 17 | func driverDiskPropertiesURL(client *gophercloud.ServiceClient, driverName string) string { |
| 18 | return client.ServiceURL("drivers", driverName, "raid", "logical_disk_properties") |
Michal Kobus | a1c3ca9 | 2019-08-21 14:29:23 +0200 | [diff] [blame] | 19 | } |