123456789101112131415161718192021222324 |
- package volumes
- import "devel.mephi.ru/iacherepanov/openstack-gophercloud"
- func createURL(c *gophercloud.ServiceClient) string {
- return c.ServiceURL("volumes")
- }
- func listURL(c *gophercloud.ServiceClient) string {
- return c.ServiceURL("volumes", "detail")
- }
- func deleteURL(c *gophercloud.ServiceClient, id string) string {
- return c.ServiceURL("volumes", id)
- }
- func getURL(c *gophercloud.ServiceClient, id string) string {
- return deleteURL(c, id)
- }
- func updateURL(c *gophercloud.ServiceClient, id string) string {
- return deleteURL(c, id)
- }
|