github.com/gophercloud/gophercloud@v1.11.0/openstack/baremetal/v1/drivers/urls.go (about)

     1  package drivers
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     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")
    19  }