blob: 9ac02e67a2f5202264f79de1a7b3e7a9f5b4253e [file] [log] [blame]
Jamie Hannaforded7f4532015-02-17 14:56:30 +01001package configurations
2
3import "github.com/rackspace/gophercloud"
4
5func baseURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("configurations")
7}
8
9func resourceURL(c *gophercloud.ServiceClient, configID string) string {
10 return c.ServiceURL("configurations", configID)
11}
12
13func instancesURL(c *gophercloud.ServiceClient, configID string) string {
14 return c.ServiceURL("configurations", configID, "instances")
15}