github.com/gophercloud/gophercloud@v1.11.0/openstack/compute/v2/extensions/diagnostics/urls.go (about) 1 package diagnostics 2 3 import "github.com/gophercloud/gophercloud" 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 }