Joe Topjian | f61691c | 2016-11-05 12:34:59 -0600 | [diff] [blame] | 1 | package projects |
| 2 | |
| 3 | import "github.com/gophercloud/gophercloud" |
| 4 | |
| 5 | func listURL(client *gophercloud.ServiceClient) string { |
| 6 | return client.ServiceURL("projects") |
| 7 | } |
Joe Topjian | 1c236d3 | 2017-01-09 15:33:32 -0700 | [diff] [blame] | 8 | |
| 9 | func getURL(client *gophercloud.ServiceClient, projectID string) string { |
| 10 | return client.ServiceURL("projects", projectID) |
| 11 | } |
Joe Topjian | 8ad602c | 2017-01-11 21:01:47 -0700 | [diff] [blame] | 12 | |
| 13 | func createURL(client *gophercloud.ServiceClient) string { |
| 14 | return client.ServiceURL("projects") |
| 15 | } |
Joe Topjian | d131fb8 | 2017-01-11 21:41:44 -0700 | [diff] [blame] | 16 | |
| 17 | func deleteURL(client *gophercloud.ServiceClient, projectID string) string { |
| 18 | return client.ServiceURL("projects", projectID) |
| 19 | } |
Joe Topjian | 8baf47a | 2017-01-11 21:50:24 -0700 | [diff] [blame] | 20 | |
| 21 | func updateURL(client *gophercloud.ServiceClient, projectID string) string { |
| 22 | return client.ServiceURL("projects", projectID) |
| 23 | } |