github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/networking/v2/peeringconnectionrequests/urls.go (about) 1 package peeringconnectionrequests 2 3 import "github.com/vnpaycloud-console/gophercloud/v2" 4 5 func resourceURL(c *gophercloud.ServiceClient, id string) string { 6 return c.ServiceURL("peering-connection-requests", id) 7 } 8 9 func rootURL(c *gophercloud.ServiceClient) string { 10 return c.ServiceURL("peering-connection-requests") 11 } 12 13 func getURL(c *gophercloud.ServiceClient, id string) string { 14 return resourceURL(c, id) 15 } 16 17 func listURL(c *gophercloud.ServiceClient) string { 18 return rootURL(c) 19 } 20 21 func createURL(c *gophercloud.ServiceClient) string { 22 return rootURL(c) 23 }