package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev

# Packages

routers unit tests.

# Functions

AddInterface attaches a subnet to an internal router interface.
Create accepts a CreateOpts struct and uses the values to create a new logical router.
Delete will permanently delete a particular router based on its unique ID.
ExtractRouters accepts a Page struct, specifically a RouterPage struct, and extracts the elements into a slice of Router structs.
Get retrieves a particular router based on its unique ID.
List returns a Pager which allows you to iterate over a collection of routers.
RemoveInterface removes an internal router interface, which detaches a subnet from the router.
Update allows routers to be updated.

# Structs

AddInterfaceOpts represents the options for adding an interface to a router.
CreateOpts contains all the values needed to create a new router.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
ExternalFixedIP is the IP address and subnet ID of the external gateway of a router.
GatewayInfo represents the information of an external gateway for any particular network router.
GetResult represents the result of a get operation.
InterfaceInfo represents information about a particular router interface.
InterfaceResult represents the result of interface operations, such as AddInterface() and RemoveInterface().
ListOpts allows the filtering and sorting of paginated collections through the API.
RemoveInterfaceOpts represents options for removing an interface from a router.
Route is a possible route in a router.
Router represents a Neutron router.
RouterPage is the page returned by a pager when traversing over a collection of routers.
UpdateOpts contains the values used when updating a router.
UpdateResult represents the result of an update operation.

# Interfaces

AddInterfaceOptsBuilder allows extensions to add additional parameters to the AddInterface request.
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
RemoveInterfaceOptsBuilder allows extensions to add additional parameters to the RemoveInterface request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.