blob: 3440de1c70a5fd859f09be64e1c211db8a64324a [file] [log] [blame]
Ash Wilson01626a32014-09-17 10:38:07 -04001package servers
2
3import "github.com/rackspace/gophercloud"
4
5func getListURL(client *gophercloud.ServiceClient) string {
6 return client.ServiceURL("servers", "detail")
7}
8
9func getCreateURL(client *gophercloud.ServiceClient) string {
10 return client.ServiceURL("servers")
11}
12
13func getServerURL(client *gophercloud.ServiceClient, id string) string {
14 return client.ServiceURL("servers", id)
15}
16
17func getActionURL(client *gophercloud.ServiceClient, id string) string {
18 return client.ServiceURL("servers", id, "action")
19}