Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + const RESOURCEPATH + const ROOTPATH + const RedirectToPool + func List(sc *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListRules(sc *gophercloud.ServiceClient, opts RulesListOptsBuilder, policyId string) pagination.Pager + type CreateOpts struct + Action string + AdminStateUp *bool + Description string + ListenerID string + Name string + Position int + RedirectPoolID string + RedirectURL string + TenantID string + func (opts CreateOpts) ToPolicyCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPolicyCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(sc *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Policies, error) + type CreateRuleOpts struct + AdminStateUp *bool + CompareType string + Key string + TenantId string + Type string + Value string + func (opts CreateRuleOpts) ToPolicyRuleCreateMap() (map[string]interface{}, error) + type CreateRuleOptsBuilder interface + ToPolicyRuleCreateMap func() (map[string]interface{}, error) + type DeleteResult struct + func Delete(sc *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(sc *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Policies, error) + type ListOpts struct + Action string + AdminStateUp *bool + Description string + ID string + Limit int + ListenerID string + Marker string + Name string + PageReverse *bool + Position int + ProvisioningStatus string + RedirectPoolID string + RedirectURL string + TenantID string + func (opts ListOpts) ToPolicyListMap() (string, error) + type ListOptsBuilder interface + ToPolicyListMap func() (string, error) + type Policies struct + Action string + AdminStateUp bool + Description string + ID string + ListenerID string + Name string + Position int + ProvisioningStatus string + RedirectPoolID string + RedirectURL string + Rules []RuleId + TenantID string + func ExtractPolcies(r pagination.Page) ([]Policies, error) + type PolicyPage struct + func (p PolicyPage) IsEmpty() (bool, error) + func (page PolicyPage) NextPageURL() (string, error) + type PolicyRule struct + AdminStateUp bool + CompareType string + ID string + Invert bool + Key string + TenantId string + Type string + Value string + type PolicyRulesPage struct + func (p PolicyRulesPage) IsEmpty() (bool, error) + func (page PolicyRulesPage) NextPageURL() (string, error) + type Rule struct + Rule PolicyRule + type RuleCreateResult struct + func CreateRule(sc *gophercloud.ServiceClient, opts CreateRuleOptsBuilder, policyid string) (r RuleCreateResult) + func (r RuleCreateResult) Extract() (Rule, error) + type RuleDeleteResult struct + func DeleteRule(sc *gophercloud.ServiceClient, policyId string, policyruleId string) (r RuleDeleteResult) + type RuleGetResult struct + func GetRule(sc *gophercloud.ServiceClient, policyId string, policyruleId string) (r RuleGetResult) + func (r RuleGetResult) Extract() (Rule, error) + type RuleId struct + ID string + type RuleUpdateOpts struct + AdminStateUp *bool + CompareType string + Invert string + Key string + Value string + func (opts RuleUpdateOpts) ToPolicyRuleUpdateMap() (map[string]interface{}, error) + type RuleUpdateResult struct + func UpdateRule(sc *gophercloud.ServiceClient, opts UpdateRuleOptsBuilder, policyId string, ...) (r RuleUpdateResult) + func (r RuleUpdateResult) Extract() (Rule, error) + type Rules struct + Rules []PolicyRule + func ExtractPolicyRules(r pagination.Page) (Rules, error) + type RulesListOpts struct + AdminStateUp *bool + CompareType string + ID string + Invert *bool + Key string + TenantID string + Type string + Values string + func (opts RulesListOpts) ToPolicyRulesListMap() (string, error) + type RulesListOptsBuilder interface + ToPolicyRulesListMap func() (string, error) + type UpdateOpts struct + AdminStateUp *bool + Description string + Name string + RedirectPoolID string + func (opts UpdateOpts) ToPolicyUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPolicyUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(sc *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Policies, error) + type UpdateRuleOptsBuilder interface + ToPolicyRuleUpdateMap func() (map[string]interface{}, error)