blob: 5bb3ca9d9252ad26db9861cef56732349dcb685a [file] [log] [blame]
Jon Perritte7b86d12015-01-16 20:37:11 -07001package services
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/gophercloud"
Jon Perritte7b86d12015-01-16 20:37:11 -07004
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}