github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/limits/urls.go (about) 1 package limits 2 3 import "github.com/gophercloud/gophercloud" 4 5 const ( 6 rootPath = "limits" 7 enforcementModelPath = "model" 8 ) 9 10 func enforcementModelURL(client *gophercloud.ServiceClient) string { 11 return client.ServiceURL(rootPath, enforcementModelPath) 12 } 13 14 func rootURL(client *gophercloud.ServiceClient) string { 15 return client.ServiceURL(rootPath) 16 } 17 18 func resourceURL(client *gophercloud.ServiceClient, id string) string { 19 return client.ServiceURL(rootPath, id) 20 }