github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/extensions/projectendpoints/urls.go (about)

     1  package projectendpoints
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     5  func listURL(client *gophercloud.ServiceClient, projectID string) string {
     6  	return client.ServiceURL("OS-EP-FILTER", "projects", projectID, "endpoints")
     7  }
     8  
     9  func createURL(client *gophercloud.ServiceClient, projectID, endpointID string) string {
    10  	return client.ServiceURL("OS-EP-FILTER", "projects", projectID, "endpoints", endpointID)
    11  }
    12  
    13  func deleteURL(client *gophercloud.ServiceClient, projectID, endpointID string) string {
    14  	return client.ServiceURL("OS-EP-FILTER", "projects", projectID, "endpoints", endpointID)
    15  }