blob: 41a959884ac9f9da5222d94826585c342b53b767 [file] [log] [blame]
Joe Topjianf61691c2016-11-05 12:34:59 -06001package projects
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Joe Topjianf61691c2016-11-05 12:34:59 -06004
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}