blob: aba42c9c879d1ac152a5a259ea78b330d1a1eefc [file] [log] [blame]
Jamie Hannaford1943b382015-02-12 11:50:02 +01001package databases
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/gophercloud"
Jamie Hannaford1943b382015-02-12 11:50:02 +01004
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}