blob: 2fc21796f743911624e9543516ddb005b2da1c61 [file] [log] [blame]
Ash Wilson16e75ef2014-09-17 09:54:57 -04001package flavors
2
3import (
Jon Perritt27249f42016-02-18 10:35:59 -06004 "github.com/gophercloud/gophercloud"
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}