Jamie Hannaford | 0ca076c | 2014-10-30 13:12:35 +0100 | [diff] [blame] | 1 | package roles |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | const ( | ||||
6 | extPath = "OS-KSADMN" | ||||
7 | rolePath = "roles" | ||||
8 | ) | ||||
9 | |||||
10 | func resourceURL(c *gophercloud.ServiceClient, id string) string { | ||||
11 | return c.ServiceURL(extPath, rolePath, id) | ||||
12 | } | ||||
13 | |||||
14 | func rootURL(c *gophercloud.ServiceClient) string { | ||||
15 | return c.ServiceURL(extPath, rolePath) | ||||
16 | } |