Add gophercloud openstack/networking/v2/extensions

Aka github.com/rackspace/gophercloud/openstack/networking/v2/extensions
This commit is contained in:
Angus Lees
2016-07-28 17:05:12 +10:00
parent 313272a22c
commit 045663d43d
9 changed files with 655 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package extensions
import "github.com/rackspace/gophercloud"
// ExtensionURL generates the URL for an extension resource by name.
func ExtensionURL(c *gophercloud.ServiceClient, name string) string {
return c.ServiceURL("extensions", name)
}
// ListExtensionURL generates the URL for the extensions resource collection.
func ListExtensionURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL("extensions")
}