github.com/gophercloud/gophercloud@v1.11.0/openstack/blockstorage/v3/attachments/urls.go (about)

     1  package attachments
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     5  func createURL(c *gophercloud.ServiceClient) string {
     6  	return c.ServiceURL("attachments")
     7  }
     8  
     9  func listURL(c *gophercloud.ServiceClient) string {
    10  	return c.ServiceURL("attachments", "detail")
    11  }
    12  
    13  func getURL(c *gophercloud.ServiceClient, id string) string {
    14  	return c.ServiceURL("attachments", id)
    15  }
    16  
    17  func updateURL(c *gophercloud.ServiceClient, id string) string {
    18  	return c.ServiceURL("attachments", id)
    19  }
    20  
    21  func deleteURL(c *gophercloud.ServiceClient, id string) string {
    22  	return c.ServiceURL("attachments", id)
    23  }
    24  
    25  func completeURL(c *gophercloud.ServiceClient, id string) string {
    26  	return c.ServiceURL("attachments", id, "action")
    27  }