1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
package drivers
import "github.com/gophercloud/gophercloud"
func driversURL(client *gophercloud.ServiceClient) string {
return client.ServiceURL("drivers")
}
func driverDetailsURL(client *gophercloud.ServiceClient, driverName string) string {
return client.ServiceURL("drivers", driverName)
}
func driverPropertiesURL(client *gophercloud.ServiceClient, driverName string) string {
return client.ServiceURL("drivers", driverName, "properties")
}
func driverDiskPropertiesURL(client *gophercloud.ServiceClient, driverName string) string {
return client.ServiceURL("drivers", driverName, "raid", "logical_disk_properties")
}
|