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