Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Audited *bool + Description string + FirewallRules []string + Name string + Shared *bool + TenantID string + func (opts CreateOpts) ToFirewallPolicyCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToFirewallPolicyCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Policy, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Policy, error) + type InsertRuleOpts struct + ID string + InsertAfter string + InsertBefore string + func (opts InsertRuleOpts) ToFirewallPolicyInsertRuleMap() (map[string]interface{}, error) + type InsertRuleOptsBuilder interface + ToFirewallPolicyInsertRuleMap func() (map[string]interface{}, error) + type InsertRuleResult struct + func InsertRule(c *gophercloud.ServiceClient, id string, opts InsertRuleOptsBuilder) (r InsertRuleResult) + func (r InsertRuleResult) Extract() (*Policy, error) + type ListOpts struct + Audited *bool + Description string + ID string + Limit int + Marker string + Name string + Shared *bool + SortDir string + SortKey string + TenantID string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type ListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type Policy struct + Audited bool + Description string + ID string + Name string + Rules []string + Shared bool + TenantID string + func ExtractPolicies(r pagination.Page) ([]Policy, error) + type PolicyPage struct + func (r PolicyPage) IsEmpty() (bool, error) + func (r PolicyPage) NextPageURL() (string, error) + type RemoveRuleResult struct + func RemoveRule(c *gophercloud.ServiceClient, id, ruleID string) (r RemoveRuleResult) + func (r RemoveRuleResult) Extract() (*Policy, error) + type UpdateOpts struct + Audited *bool + Description *string + FirewallRules *[]string + Name *string + Shared *bool + func (opts UpdateOpts) ToFirewallPolicyUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToFirewallPolicyUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Policy, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3