blob: cce1af88f9be5b3cd7bc104d28e6cda68719a3d7 [file] [log] [blame]
Jamie Hannaford9fdda582015-02-10 12:15:43 +01001package instances
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Jamie Hannaford9fdda582015-02-10 12:15:43 +01004
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}
Jamie Hannaford219ca592015-02-10 15:59:05 +010016
17func actionURL(c *gophercloud.ServiceClient, id string) string {
18 return c.ServiceURL("instances", id, "action")
19}