github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/compute/v2/diagnostics/urls.go (about) 1 package diagnostics 2 3 import "github.com/vnpaycloud-console/gophercloud/v2" 4 5 // serverDiagnosticsURL returns the diagnostics url for a nova instance/server 6 func serverDiagnosticsURL(client *gophercloud.ServiceClient, id string) string { 7 return client.ServiceURL("servers", id, "diagnostics") 8 }