blob: fd2608dd44d5039678dbd17d4b2c03a33b2daeb3 [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 Hannaford11108402015-02-23 10:31:41 +010015func Get(client *gophercloud.ServiceClient, flavorID int) os.GetResult {
Jamie Hannaford81954462015-02-13 09:45:27 +010016 return os.Get(client, flavorID)
17}