1234567891011121314151617181920212223242526 |
- package policies
- import "devel.mephi.ru/iacherepanov/openstack-gophercloud"
- const policyPath = "policies"
- func listURL(client *gophercloud.ServiceClient) string {
- return client.ServiceURL(policyPath)
- }
- func createURL(client *gophercloud.ServiceClient) string {
- return client.ServiceURL(policyPath)
- }
- func getURL(client *gophercloud.ServiceClient, policyID string) string {
- return client.ServiceURL(policyPath, policyID)
- }
- func updateURL(client *gophercloud.ServiceClient, policyID string) string {
- return client.ServiceURL(policyPath, policyID)
- }
- func deleteURL(client *gophercloud.ServiceClient, policyID string) string {
- return client.ServiceURL(policyPath, policyID)
- }
|