Jamie Hannaford | 2a4beaa | 2015-02-09 17:27:18 +0100 | [diff] [blame] | 1 | package instances |
2 | |||||
3 | import "github.com/rackspace/gophercloud" | ||||
4 | |||||
5 | func baseURL(c *gophercloud.ServiceClient) string { | ||||
6 | return c.ServiceURL("instances") | ||||
7 | } | ||||
8 | |||||
9 | func createURL(c *gophercloud.ServiceClient) string { | ||||
10 | return baseURL(c) | ||||
11 | } | ||||
Jamie Hannaford | 936a547 | 2015-02-10 14:38:28 +0100 | [diff] [blame^] | 12 | |
13 | func configURL(c *gophercloud.ServiceClient) string { | ||||
14 | return c.ServiceURL("instances", id, "configuration") | ||||
15 | } |