github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/identity/v3/projects/urls.go (about)

     1  package projects
     2  
     3  import "github.com/vnpaycloud-console/gophercloud/v2"
     4  
     5  func listAvailableURL(client *gophercloud.ServiceClient) string {
     6  	return client.ServiceURL("auth", "projects")
     7  }
     8  
     9  func listURL(client *gophercloud.ServiceClient) string {
    10  	return client.ServiceURL("projects")
    11  }
    12  
    13  func getURL(client *gophercloud.ServiceClient, projectID string) string {
    14  	return client.ServiceURL("projects", projectID)
    15  }
    16  
    17  func createURL(client *gophercloud.ServiceClient) string {
    18  	return client.ServiceURL("projects")
    19  }
    20  
    21  func deleteURL(client *gophercloud.ServiceClient, projectID string) string {
    22  	return client.ServiceURL("projects", projectID)
    23  }
    24  
    25  func updateURL(client *gophercloud.ServiceClient, projectID string) string {
    26  	return client.ServiceURL("projects", projectID)
    27  }
    28  
    29  func listTagsURL(client *gophercloud.ServiceClient, projectID string) string {
    30  	return client.ServiceURL("projects", projectID, "tags")
    31  }
    32  
    33  func modifyTagsURL(client *gophercloud.ServiceClient, projectID string) string {
    34  	return client.ServiceURL("projects", projectID, "tags")
    35  }
    36  
    37  func deleteTagsURL(client *gophercloud.ServiceClient, projectID string) string {
    38  	return client.ServiceURL("projects", projectID, "tags")
    39  }