Jamie Hannaford | ed7f453 | 2015-02-17 14:56:30 +0100 | [diff] [blame^] | 1 | package configurations |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | func baseURL(c *gophercloud.ServiceClient) string { | ||||
6 | return c.ServiceURL("configurations") | ||||
7 | } | ||||
8 | |||||
9 | func resourceURL(c *gophercloud.ServiceClient, configID string) string { | ||||
10 | return c.ServiceURL("configurations", configID) | ||||
11 | } | ||||
12 | |||||
13 | func instancesURL(c *gophercloud.ServiceClient, configID string) string { | ||||
14 | return c.ServiceURL("configurations", configID, "instances") | ||||
15 | } |