package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Packages
groups unit tests.
# Functions
Create is an operation which provisions a new security group with default security group rules for the IPv4 and IPv6 ether types.
Delete will permanently delete a particular security group based on its unique ID.
ExtractGroups accepts a Page struct, specifically a SecGroupPage struct, and extracts the elements into a slice of SecGroup structs.
Get retrieves a particular security group based on its unique ID.
IDFromName is a convenience function that returns a security group's ID, given its name.
List returns a Pager which allows you to iterate over a collection of security groups.
Update is an operation which updates an existing security group.
# Structs
CreateOpts contains all the values needed to create a new security group.
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.
SecGroup represents a container for security group rules.
SecGroupPage is the page returned by a pager when traversing over a collection of security groups.
UpdateOpts contains all the values needed to update an existing security group.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.