blob: 76d1ca56d80e3e16cb7278276be7b76686fcdbd3 [file] [log] [blame]
package instances
import "github.com/gophercloud/gophercloud"
func baseURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL("instances")
}
func resourceURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL("instances", id)
}
func userRootURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL("instances", id, "root")
}
func actionURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL("instances", id, "action")
}