github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/images/urls.go (about)

     1  package images
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  func listDetailURL(client *golangsdk.ServiceClient) string {
     6  	return client.ServiceURL("images", "detail")
     7  }
     8  
     9  func getURL(client *golangsdk.ServiceClient, id string) string {
    10  	return client.ServiceURL("images", id)
    11  }
    12  
    13  func deleteURL(client *golangsdk.ServiceClient, id string) string {
    14  	return client.ServiceURL("images", id)
    15  }