blob: dff9e5a9510365bfca4eeb312b3d5934ae270d5b [file] [log] [blame]
Ash Wilsonb73b7f82014-08-29 15:38:06 -04001package services
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Ash Wilsonb73b7f82014-08-29 15:38:06 -04004
Ash Wilson1e1b7332014-09-30 16:38:11 -04005func listURL(client *gophercloud.ServiceClient) string {
Ash Wilsonb73b7f82014-08-29 15:38:06 -04006 return client.ServiceURL("services")
7}
8
Ash Wilson1e1b7332014-09-30 16:38:11 -04009func serviceURL(client *gophercloud.ServiceClient, serviceID string) string {
Ash Wilson6e870032014-09-02 08:38:27 -040010 return client.ServiceURL("services", serviceID)
Ash Wilsonb73b7f82014-08-29 15:38:06 -040011}