github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/compute/v2/hypervisors/urls.go (about) 1 package hypervisors 2 3 import "github.com/vnpaycloud-console/gophercloud/v2" 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 }