blob: 06d1b3daec98472c83696d1a4e4e32dfa129518b [file] [log] [blame]
package datastores
import "github.com/gophercloud/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)
}