Jon Perritt | f1a3cf4 | 2015-01-19 16:19:54 -0700 | [diff] [blame] | 1 | package flavors |
| 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
| 5 | |
| 6 | os "github.com/rackspace/gophercloud/openstack/cdn/v1/flavors" |
| 7 | "github.com/rackspace/gophercloud/pagination" |
| 8 | ) |
| 9 | |
| 10 | // List returns a single page of CDN flavors. |
| 11 | func List(c *gophercloud.ServiceClient) pagination.Pager { |
| 12 | return os.List(c) |
| 13 | } |
| 14 | |
| 15 | // Get retrieves a specific flavor based on its unique ID. |
| 16 | func Get(c *gophercloud.ServiceClient, id string) os.GetResult { |
| 17 | return os.Get(c, id) |
| 18 | } |