blob: 2ab2b5d67f936b80ed890457b3bc55b6c902a163 [file] [log] [blame]
Jamie Hannaford0ca076c2014-10-30 13:12:35 +01001package roles
2
3import "github.com/rackspace/gophercloud"
4
5const (
6 extPath = "OS-KSADMN"
7 rolePath = "roles"
8)
9
10func resourceURL(c *gophercloud.ServiceClient, id string) string {
11 return c.ServiceURL(extPath, rolePath, id)
12}
13
14func rootURL(c *gophercloud.ServiceClient) string {
15 return c.ServiceURL(extPath, rolePath)
16}