mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-30 21:30:16 +00:00 
			
		
		
		
	Add gophercloud openstack/networking/v2/extensions
Aka github.com/rackspace/gophercloud/openstack/networking/v2/extensions
This commit is contained in:
		
							
								
								
									
										13
									
								
								vendor/github.com/rackspace/gophercloud/openstack/common/extensions/urls.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/rackspace/gophercloud/openstack/common/extensions/urls.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal 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") | ||||
| } | ||||
		Reference in New Issue
	
	Block a user