blob: ee0dfdbe39d623f1b8f7654c06c24ba749758764 [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}