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

# Packages

networks unit tests.

# Functions

Create accepts a CreateOpts struct and creates a new network using the values provided.
Delete accepts a unique ID and deletes the network associated with it.
ExtractNetworks accepts a Page struct, specifically a NetworkPage struct, and extracts the elements into a slice of Network structs.
No description provided by the author
Get retrieves a specific network based on its unique ID.
IDFromName is a convenience function that returns a network's ID, given its name.
List returns a Pager which allows you to iterate over a collection of networks.
Update accepts a UpdateOpts struct and updates an existing network using the values provided.

# Structs

CreateOpts represents options used to create a network.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
Network represents, well, a network.
NetworkPage is the page returned by a pager when traversing over a collection of networks.
UpdateOpts represents options used to update a network.
UpdateResult represents the result of an update operation.

# Interfaces

CreateOptsBuilder allows extensions to add additional parameters to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.