blob: 3440de1c70a5fd859f09be64e1c211db8a64324a [file] [log] [blame]
package servers
import "github.com/rackspace/gophercloud"
func getListURL(client *gophercloud.ServiceClient) string {
return client.ServiceURL("servers", "detail")
}
func getCreateURL(client *gophercloud.ServiceClient) string {
return client.ServiceURL("servers")
}
func getServerURL(client *gophercloud.ServiceClient, id string) string {
return client.ServiceURL("servers", id)
}
func getActionURL(client *gophercloud.ServiceClient, id string) string {
return client.ServiceURL("servers", id, "action")
}