blob: 689b81eaca679a503a23de7344f99d60f8de9863 [file] [log] [blame]
Jamie Hannaford81954462015-02-13 09:45:27 +01001package flavors
2
3import (
4 "github.com/rackspace/gophercloud"
5 os "github.com/rackspace/gophercloud/openstack/db/v1/flavors"
6 "github.com/rackspace/gophercloud/pagination"
7)
8
Jamie Hannafordb0d267b2015-02-19 11:59:53 +01009// List will list all available flavors.
Jamie Hannaford81954462015-02-13 09:45:27 +010010func List(client *gophercloud.ServiceClient) pagination.Pager {
11 return os.List(client)
12}
13
Jamie Hannafordb0d267b2015-02-19 11:59:53 +010014// Get retrieves the details for a particular flavor.
Jamie Hannaford81954462015-02-13 09:45:27 +010015func Get(client *gophercloud.ServiceClient, flavorID string) os.GetResult {
16 return os.Get(client, flavorID)
17}