blob: 7203ccfc0b38d9d76c2ecf7556aa6a8d6500e88e [file] [log] [blame]
package policies
import "github.com/rackspace/gophercloud"
func listURL(c *gophercloud.ServiceClient, groupID string) string {
return c.ServiceURL("groups", groupID, "policies")
}
func createURL(c *gophercloud.ServiceClient, groupID string) string {
return c.ServiceURL("groups", groupID, "policies")
}
func getURL(c *gophercloud.ServiceClient, groupID, policyID string) string {
return c.ServiceURL("groups", groupID, "policies", policyID)
}
func updateURL(c *gophercloud.ServiceClient, groupID, policyID string) string {
return getURL(c, groupID, policyID)
}