github.com/leeclow-ops/gophercloud@v1.2.1/openstack/sharedfilesystems/v2/snapshots/urls.go (about) 1 package snapshots 2 3 import "github.com/leeclow-ops/gophercloud" 4 5 func createURL(c *gophercloud.ServiceClient) string { 6 return c.ServiceURL("snapshots") 7 } 8 9 func listDetailURL(c *gophercloud.ServiceClient) string { 10 return c.ServiceURL("snapshots", "detail") 11 } 12 13 func deleteURL(c *gophercloud.ServiceClient, id string) string { 14 return c.ServiceURL("snapshots", id) 15 } 16 17 func getURL(c *gophercloud.ServiceClient, id string) string { 18 return c.ServiceURL("snapshots", id) 19 } 20 21 func updateURL(c *gophercloud.ServiceClient, id string) string { 22 return c.ServiceURL("snapshots", id) 23 }