Versions in this module Expand all Collapse all v3 v3.0.0 Jan 5, 2022 Changes in this version + const ActionRedirectToPool + const ActionRedirectToURL + const ActionReject + const CompareTypeContains + const CompareTypeEndWith + const CompareTypeEqual + const CompareTypeRegex + const CompareTypeStartWith + const TypeCookie + const TypeFileType + const TypeHeader + const TypeHostName + const TypePath + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListRules(c *gophercloud.ServiceClient, policyID string, opts ListRulesOptsBuilder) pagination.Pager + type Action string + type CompareType string + type CreateOpts struct + Action Action + AdminStateUp *bool + Description string + ListenerID string + Name string + Position int32 + ProjectID string + RedirectPoolID string + RedirectURL string + Rules []CreateRuleOpts + func (opts CreateOpts) ToL7PolicyCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToL7PolicyCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*L7Policy, error) + type CreateRuleOpts struct + AdminStateUp *bool + CompareType CompareType + Invert bool + Key string + ProjectID string + RuleType RuleType + Value string + func (opts CreateRuleOpts) ToRuleCreateMap() (map[string]interface{}, error) + type CreateRuleResult struct + func CreateRule(c *gophercloud.ServiceClient, policyID string, opts CreateRuleOpts) (r CreateRuleResult) + func (r CreateRuleResult) Extract() (*Rule, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type DeleteRuleResult struct + func DeleteRule(c *gophercloud.ServiceClient, policyID string, ruleID string) (r DeleteRuleResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*L7Policy, error) + type GetRuleResult struct + func GetRule(c *gophercloud.ServiceClient, policyID string, ruleID string) (r GetRuleResult) + func (r GetRuleResult) Extract() (*Rule, error) + type L7Policy struct + Action string + AdminStateUp bool + Description string + ID string + ListenerID string + Name string + OperatingStatus string + Position int32 + ProjectID string + ProvisioningStatus string + RedirectPoolID string + RedirectURL string + Rules []Rule + func ExtractL7Policies(r pagination.Page) ([]L7Policy, error) + type L7PolicyPage struct + func (r L7PolicyPage) IsEmpty() (bool, error) + func (r L7PolicyPage) NextPageURL() (string, error) + type ListOpts struct + Action string + AdminStateUp bool + Description string + ID string + Limit int + ListenerID string + Marker string + Name string + Position int32 + ProjectID string + RedirectPoolID string + RedirectURL string + SortDir string + SortKey string + func (opts ListOpts) ToL7PolicyListQuery() (string, error) + type ListOptsBuilder interface + ToL7PolicyListQuery func() (string, error) + type ListRulesOpts struct + AdminStateUp bool + CompareType CompareType + ID string + Invert bool + Key string + Limit int + Marker string + ProjectID string + RuleType RuleType + SortDir string + SortKey string + Value string + func (opts ListRulesOpts) ToRulesListQuery() (string, error) + type ListRulesOptsBuilder interface + ToRulesListQuery func() (string, error) + type Rule struct + AdminStateUp bool + CompareType string + ID string + Invert bool + Key string + OperatingStatus string + ProjectID string + ProvisioningStatus string + RuleType string + Value string + func ExtractRules(r pagination.Page) ([]Rule, error) + type RulePage struct + func (r RulePage) IsEmpty() (bool, error) + func (r RulePage) NextPageURL() (string, error) + type RuleType string + type UpdateOpts struct + Action Action + AdminStateUp *bool + Description *string + Name *string + Position int32 + RedirectPoolID *string + RedirectURL *string + func (opts UpdateOpts) ToL7PolicyUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToL7PolicyUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*L7Policy, error) + type UpdateRuleOpts struct + AdminStateUp *bool + CompareType CompareType + Invert *bool + Key *string + RuleType RuleType + Value string + func (opts UpdateRuleOpts) ToRuleUpdateMap() (map[string]interface{}, error) + type UpdateRuleOptsBuilder interface + ToRuleUpdateMap func() (map[string]interface{}, error) + type UpdateRuleResult struct + func UpdateRule(c *gophercloud.ServiceClient, policyID string, ruleID string, ...) (r UpdateRuleResult) + func (r UpdateRuleResult) Extract() (*Rule, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v2