blob: d953d4c19814c09ef6f9dfcf970c3d36a4076272 [file] [log] [blame]
Jon Perritte7b86d12015-01-16 20:37:11 -07001package services
2
3import "github.com/rackspace/gophercloud"
4
5func listURL(c *gophercloud.ServiceClient) string {
6 return c.ServiceURL("services")
7}
8
9func createURL(c *gophercloud.ServiceClient) string {
10 return listURL(c)
11}
12
13func getURL(c *gophercloud.ServiceClient, id string) string {
14 return c.ServiceURL("services", id)
15}
16
17func updateURL(c *gophercloud.ServiceClient, id string) string {
18 return getURL(c, id)
19}
20
21func deleteURL(c *gophercloud.ServiceClient, id string) string {
22 return getURL(c, id)
23}