| "github.com/rackspace/gophercloud" |
| func listURL(client *gophercloud.ServiceClient, lfo ListFilterOptions) string { |
| if lfo.ChangesSince != "" { |
| v.Set("changes-since", lfo.ChangesSince) |
| v.Set("minDisk", strconv.Itoa(lfo.MinDisk)) |
| v.Set("minRam", strconv.Itoa(lfo.MinRAM)) |
| v.Set("marker", lfo.Marker) |
| v.Set("limit", strconv.Itoa(lfo.Limit)) |
| tail = fmt.Sprintf("?%s", v.Encode()) |
| return client.ServiceURL("flavors", "detail") + tail |
| func flavorURL(client *gophercloud.ServiceClient, id string) string { |
| return client.ServiceURL("flavors", id) |