ehdou | 10f1f85 | 2016-10-14 20:58:23 +0300 | [diff] [blame] | 1 | package sharenetworks |
| 2 | |
| 3 | import "github.com/gophercloud/gophercloud" |
| 4 | |
| 5 | func createURL(c *gophercloud.ServiceClient) string { |
| 6 | return c.ServiceURL("share-networks") |
| 7 | } |
ehdou | 5368725 | 2016-10-14 22:10:13 +0300 | [diff] [blame] | 8 | |
| 9 | func deleteURL(c *gophercloud.ServiceClient, id string) string { |
| 10 | return c.ServiceURL("share-networks", id) |
| 11 | } |
ehdou | 0794333 | 2016-10-24 21:21:58 +0300 | [diff] [blame] | 12 | |
| 13 | func listDetailURL(c *gophercloud.ServiceClient) string { |
| 14 | return c.ServiceURL("share-networks", "detail") |
| 15 | } |
ehdou | a088cec | 2016-10-25 21:02:05 +0300 | [diff] [blame] | 16 | |
| 17 | func getURL(c *gophercloud.ServiceClient, id string) string { |
| 18 | return deleteURL(c, id) |
| 19 | } |
ehdou | fd6d86c | 2016-11-03 21:35:45 +0200 | [diff] [blame] | 20 | |
| 21 | func updateURL(c *gophercloud.ServiceClient, id string) string { |
| 22 | return deleteURL(c, id) |
| 23 | } |