# Packages
policies unit tests.
# Functions
AddRule will add a rule to a policy.
Create accepts a CreateOpts struct and uses the values to create a new firewall policy.
Delete will permanently delete a particular firewall policy based on its unique ID.
ExtractPolicies accepts a Page struct, specifically a Policy struct, and extracts the elements into a slice of Policy structs.
Get retrieves a particular firewall policy based on its unique ID.
List returns a Pager which allows you to iterate over a collection of firewall policies.
RemoveRule will add a rule to a policy.
Update allows firewall policies to be updated.
# Structs
CreateOpts contains all the values needed to create a new firewall policy.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
InsertRuleOpts contains the values used when updating a policy's rules.
InsertRuleResult represents the result of an InsertRule operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
Policy is a firewall policy.
PolicyPage is the page returned by a pager when traversing over a collection of firewall policies.
RemoveRuleResult represents the result of a RemoveRule operation.
UpdateOpts contains the values used when updating a firewall policy.
UpdateResult represents the result of an update operation.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
InsertRuleOptsBuilder allows extensions to add additional parameters to the InsertRule request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.