Jamie Hannaford | ba1e96c | 2015-02-12 12:50:19 +0100 | [diff] [blame] | 1 | package databases |
| 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
| 5 | os "github.com/rackspace/gophercloud/openstack/db/v1/databases" |
| 6 | "github.com/rackspace/gophercloud/pagination" |
| 7 | ) |
| 8 | |
| 9 | func Create(client *gophercloud.ServiceClient, instanceID string, opts os.CreateOptsBuilder) os.CreateResult { |
| 10 | return os.Create(client, instanceID, opts) |
| 11 | } |
| 12 | |
| 13 | func List(client *gophercloud.ServiceClient, instanceID string) pagination.Pager { |
| 14 | return os.List(client, instanceID) |
| 15 | } |
| 16 | |
| 17 | func Delete(client *gophercloud.ServiceClient, instanceID, dbName string) os.DeleteResult { |
| 18 | return os.Delete(client, instanceID, dbName) |
| 19 | } |