blob: dd905e7fa62e53b68cd89827e83f82c36f26ef4f [file] [log] [blame]
Jon Perritte7b86d12015-01-16 20:37:11 -07001package services
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
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}