commit | 9fdda583fbac4820c089fc0af570936e56c5d28a | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Tue Feb 10 12:15:43 2015 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Oct 14 12:14:35 2015 +0200 |
tree | 64c1fc03115498925e6eec350b3d56131219da56 | |
parent | 3dbfb2d855e317940c5eda5e363187952f3891f4 [diff] [blame] |
Decouple OpenStack implementation from Rackspace provider
diff --git a/openstack/db/v1/instances/urls.go b/openstack/db/v1/instances/urls.go new file mode 100644 index 0000000..bb6edf2 --- /dev/null +++ b/openstack/db/v1/instances/urls.go
@@ -0,0 +1,11 @@ +package instances + +import "github.com/rackspace/gophercloud" + +func baseURL(c *gophercloud.ServiceClient) string { + return c.ServiceURL("instances") +} + +func createURL(c *gophercloud.ServiceClient) string { + return baseURL(c) +}