blob: a0d660a21027e1a31ab2e831b3f101618a3af460 [file] [log] [blame]
package networks
import "github.com/rackspace/gophercloud"
const Version = "v2.0"
func ResourceURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL(Version, "networks", id)
}
func RootURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL(Version, "networks")
}
func GetURL(c *gophercloud.ServiceClient, id string) string {
return ResourceURL(c, id)
}
func ListURL(c *gophercloud.ServiceClient) string {
return RootURL(c)
}
func CreateURL(c *gophercloud.ServiceClient) string {
return RootURL(c)
}
func DeleteURL(c *gophercloud.ServiceClient, id string) string {
return ResourceURL(c, id)
}