github.com/gophercloud/gophercloud@v1.11.0/openstack/compute/v2/extensions/hypervisors/urls.go (about) 1 package hypervisors 2 3 import "github.com/gophercloud/gophercloud" 4 5 func hypervisorsListDetailURL(c *gophercloud.ServiceClient) string { 6 return c.ServiceURL("os-hypervisors", "detail") 7 } 8 9 func hypervisorsStatisticsURL(c *gophercloud.ServiceClient) string { 10 return c.ServiceURL("os-hypervisors", "statistics") 11 } 12 13 func hypervisorsGetURL(c *gophercloud.ServiceClient, hypervisorID string) string { 14 return c.ServiceURL("os-hypervisors", hypervisorID) 15 } 16 17 func hypervisorsUptimeURL(c *gophercloud.ServiceClient, hypervisorID string) string { 18 return c.ServiceURL("os-hypervisors", hypervisorID, "uptime") 19 }