github.com/gophercloud/gophercloud@v1.11.0/openstack/compute/v2/extensions/instanceactions/urls.go (about)

     1  package instanceactions
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     5  func listURL(client *gophercloud.ServiceClient, id string) string {
     6  	return client.ServiceURL("servers", id, "os-instance-actions")
     7  }
     8  
     9  func instanceActionsURL(client *gophercloud.ServiceClient, serverID, requestID string) string {
    10  	return client.ServiceURL("servers", serverID, "os-instance-actions", requestID)
    11  }