1package resourcetypes
2
3import "github.com/gophercloud/gophercloud"
4
5const (
6	resTypesPath = "resource_types"
7)
8
9func listURL(c *gophercloud.ServiceClient) string {
10	return c.ServiceURL(resTypesPath)
11}
12
13func getSchemaURL(c *gophercloud.ServiceClient, resourceType string) string {
14	return c.ServiceURL(resTypesPath, resourceType)
15}
16
17func generateTemplateURL(c *gophercloud.ServiceClient, resourceType string) string {
18	return c.ServiceURL(resTypesPath, resourceType, "template")
19}
20