blob: a50da961cd01bda0ddb5d028ee0e1e859e7e7330 [file] [log] [blame]
Jamie Hannaford9fdda582015-02-10 12:15:43 +01001package instances
2
3import "github.com/rackspace/gophercloud"
4
5func baseURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("instances")
7}
Jamie Hannaford821015f2015-02-10 12:58:36 +01008
9func resourceURL(c *gophercloud.ServiceClient, id string) string {
10 return c.ServiceURL("instances", id)
11}
Jamie Hannaford94164fa2015-02-10 13:58:45 +010012
13func userRootURL(c *gophercloud.ServiceClient, id string) string {
14 return c.ServiceURL("instances", id, "root")
15}