blob: c4d52480e937ba00909495615cbf0dd2e837b204 [file] [log] [blame]
package datastores
import "github.com/rackspace/gophercloud"
func baseURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL("datastores")
}
func resourceURL(c *gophercloud.ServiceClient, dsID string) string {
return c.ServiceURL("datastores", dsID)
}
func versionsURL(c *gophercloud.ServiceClient, dsID string) string {
return c.ServiceURL("datastores", dsID, "versions")
}
func versionURL(c *gophercloud.ServiceClient, dsID, versionID string) string {
return c.ServiceURL("datastores", dsID, "versions", versionID)
}