blob: c8ebbeec5c99321995c4ac3270052a9e572dab25 [file] [log] [blame]
Michal Kobusa1c3ca92019-08-21 14:29:23 +02001package drivers
2
3import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
4
Michal Kobusf6113582019-09-09 15:58:21 +02005func driversURL(client *gophercloud.ServiceClient) string {
6 return client.ServiceURL("drivers")
7}
8
9func driverDetailsURL(client *gophercloud.ServiceClient, driverName string) string {
10 return client.ServiceURL("drivers", driverName)
11}
12
13func driverPropertiesURL(client *gophercloud.ServiceClient, driverName string) string {
14 return client.ServiceURL("drivers", driverName, "properties")
15}
16
17func driverDiskPropertiesURL(client *gophercloud.ServiceClient, driverName string) string {
18 return client.ServiceURL("drivers", driverName, "raid", "logical_disk_properties")
Michal Kobusa1c3ca92019-08-21 14:29:23 +020019}