blob: e26cf3684ccb343b44fa610b3ea276844b9a080c [file] [log] [blame]
Joe Topjianf61691c2016-11-05 12:34:59 -06001package projects
2
3import "github.com/gophercloud/gophercloud"
4
5func listURL(client *gophercloud.ServiceClient) string {
6 return client.ServiceURL("projects")
7}
Joe Topjian1c236d32017-01-09 15:33:32 -07008
9func getURL(client *gophercloud.ServiceClient, projectID string) string {
10 return client.ServiceURL("projects", projectID)
11}
Joe Topjian8ad602c2017-01-11 21:01:47 -070012
13func createURL(client *gophercloud.ServiceClient) string {
14 return client.ServiceURL("projects")
15}
Joe Topjiand131fb82017-01-11 21:41:44 -070016
17func deleteURL(client *gophercloud.ServiceClient, projectID string) string {
18 return client.ServiceURL("projects", projectID)
19}
Joe Topjian8baf47a2017-01-11 21:50:24 -070020
21func updateURL(client *gophercloud.ServiceClient, projectID string) string {
22 return client.ServiceURL("projects", projectID)
23}