blob: 027ca5847861de6d044d9ba42a9da5fbf7da8e40 [file] [log] [blame]
Jamie Hannaford1943b382015-02-12 11:50:02 +01001package databases
2
3import "github.com/rackspace/gophercloud"
4
5func baseURL(c *gophercloud.ServiceClient, instanceID string) string {
6 return c.ServiceURL("instances", instanceID, "databases")
7}
8
9func dbURL(c *gophercloud.ServiceClient, instanceID, dbName string) string {
10 return c.ServiceURL("instances", instanceID, "databases", dbName)
11}