blob: af6c50d1e69b513e79e72edb4ab1a69767d13ff1 [file] [log] [blame]
Ash Wilson16e75ef2014-09-17 09:54:57 -04001package flavors
2
3import (
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02004 "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Ash Wilson16e75ef2014-09-17 09:54:57 -04005)
6
Jon Perritt9af03852014-10-07 13:41:35 -05007func getURL(client *gophercloud.ServiceClient, id string) string {
8 return client.ServiceURL("flavors", id)
Ash Wilson16e75ef2014-09-17 09:54:57 -04009}
10
Jon Perritt9af03852014-10-07 13:41:35 -050011func listURL(client *gophercloud.ServiceClient) string {
12 return client.ServiceURL("flavors", "detail")
Ash Wilson16e75ef2014-09-17 09:54:57 -040013}
jrperritt8cab8b82017-02-16 14:48:18 -060014
15func createURL(client *gophercloud.ServiceClient) string {
16 return client.ServiceURL("flavors")
17}