Versions in this module Expand all Collapse all v0 v0.7.1 Dec 27, 2019 Changes in this version + func ExtractBandwidthLimitRulesInto(r pagination.Page, v interface{}) error + func ExtractDSCPMarkingRulesInto(r pagination.Page, v interface{}) error + func ExtractMinimumBandwidthRulesInto(r pagination.Page, v interface{}) error + func ListBandwidthLimitRules(c *gophercloud.ServiceClient, policyID string, ...) pagination.Pager + func ListDSCPMarkingRules(c *gophercloud.ServiceClient, policyID string, ...) pagination.Pager + func ListMinimumBandwidthRules(c *gophercloud.ServiceClient, policyID string, ...) pagination.Pager + type BandwidthLimitRule struct + Direction string + ID string + MaxBurstKBps int + MaxKBps int + Tags []string + TenantID string + func ExtractBandwidthLimitRules(r pagination.Page) ([]BandwidthLimitRule, error) + type BandwidthLimitRulePage struct + func (r BandwidthLimitRulePage) IsEmpty() (bool, error) + type BandwidthLimitRulesListOpts struct + Direction string + ID string + Limit int + Marker string + MaxBurstKBps int + MaxKBps int + NotTags string + NotTagsAny string + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + func (opts BandwidthLimitRulesListOpts) ToBandwidthLimitRulesListQuery() (string, error) + type BandwidthLimitRulesListOptsBuilder interface + ToBandwidthLimitRulesListQuery func() (string, error) + type CreateBandwidthLimitRuleOpts struct + Direction string + MaxBurstKBps int + MaxKBps int + func (opts CreateBandwidthLimitRuleOpts) ToBandwidthLimitRuleCreateMap() (map[string]interface{}, error) + type CreateBandwidthLimitRuleOptsBuilder interface + ToBandwidthLimitRuleCreateMap func() (map[string]interface{}, error) + type CreateBandwidthLimitRuleResult struct + func CreateBandwidthLimitRule(client *gophercloud.ServiceClient, policyID string, ...) (r CreateBandwidthLimitRuleResult) + func (r CreateBandwidthLimitRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r CreateBandwidthLimitRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r CreateBandwidthLimitRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type CreateDSCPMarkingRuleOpts struct + DSCPMark int + func (opts CreateDSCPMarkingRuleOpts) ToDSCPMarkingRuleCreateMap() (map[string]interface{}, error) + type CreateDSCPMarkingRuleOptsBuilder interface + ToDSCPMarkingRuleCreateMap func() (map[string]interface{}, error) + type CreateDSCPMarkingRuleResult struct + func CreateDSCPMarkingRule(client *gophercloud.ServiceClient, policyID string, ...) (r CreateDSCPMarkingRuleResult) + func (r CreateDSCPMarkingRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r CreateDSCPMarkingRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r CreateDSCPMarkingRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type CreateMinimumBandwidthRuleOpts struct + Direction string + MinKBps int + func (opts CreateMinimumBandwidthRuleOpts) ToMinimumBandwidthRuleCreateMap() (map[string]interface{}, error) + type CreateMinimumBandwidthRuleOptsBuilder interface + ToMinimumBandwidthRuleCreateMap func() (map[string]interface{}, error) + type CreateMinimumBandwidthRuleResult struct + func CreateMinimumBandwidthRule(client *gophercloud.ServiceClient, policyID string, ...) (r CreateMinimumBandwidthRuleResult) + func (r CreateMinimumBandwidthRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r CreateMinimumBandwidthRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r CreateMinimumBandwidthRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type DSCPMarkingRule struct + DSCPMark int + ID string + Tags []string + TenantID string + func ExtractDSCPMarkingRules(r pagination.Page) ([]DSCPMarkingRule, error) + type DSCPMarkingRulePage struct + func (r DSCPMarkingRulePage) IsEmpty() (bool, error) + type DSCPMarkingRulesListOpts struct + DSCPMark int + ID string + Limit int + Marker string + NotTags string + NotTagsAny string + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + func (opts DSCPMarkingRulesListOpts) ToDSCPMarkingRulesListQuery() (string, error) + type DSCPMarkingRulesListOptsBuilder interface + ToDSCPMarkingRulesListQuery func() (string, error) + type DeleteBandwidthLimitRuleResult struct + func DeleteBandwidthLimitRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r DeleteBandwidthLimitRuleResult) + type DeleteDSCPMarkingRuleResult struct + func DeleteDSCPMarkingRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r DeleteDSCPMarkingRuleResult) + type DeleteMinimumBandwidthRuleResult struct + func DeleteMinimumBandwidthRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r DeleteMinimumBandwidthRuleResult) + type GetBandwidthLimitRuleResult struct + func GetBandwidthLimitRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r GetBandwidthLimitRuleResult) + func (r GetBandwidthLimitRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r GetBandwidthLimitRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r GetBandwidthLimitRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type GetDSCPMarkingRuleResult struct + func GetDSCPMarkingRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r GetDSCPMarkingRuleResult) + func (r GetDSCPMarkingRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r GetDSCPMarkingRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r GetDSCPMarkingRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type GetMinimumBandwidthRuleResult struct + func GetMinimumBandwidthRule(c *gophercloud.ServiceClient, policyID, ruleID string) (r GetMinimumBandwidthRuleResult) + func (r GetMinimumBandwidthRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r GetMinimumBandwidthRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r GetMinimumBandwidthRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type MinimumBandwidthRule struct + Direction string + ID string + MinKBps int + Tags []string + TenantID string + func ExtractMinimumBandwidthRules(r pagination.Page) ([]MinimumBandwidthRule, error) + type MinimumBandwidthRulePage struct + func (r MinimumBandwidthRulePage) IsEmpty() (bool, error) + type MinimumBandwidthRulesListOpts struct + Direction string + ID string + Limit int + Marker string + MinKBps int + NotTags string + NotTagsAny string + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + func (opts MinimumBandwidthRulesListOpts) ToMinimumBandwidthRulesListQuery() (string, error) + type MinimumBandwidthRulesListOptsBuilder interface + ToMinimumBandwidthRulesListQuery func() (string, error) + type UpdateBandwidthLimitRuleOpts struct + Direction string + MaxBurstKBps *int + MaxKBps *int + func (opts UpdateBandwidthLimitRuleOpts) ToBandwidthLimitRuleUpdateMap() (map[string]interface{}, error) + type UpdateBandwidthLimitRuleOptsBuilder interface + ToBandwidthLimitRuleUpdateMap func() (map[string]interface{}, error) + type UpdateBandwidthLimitRuleResult struct + func UpdateBandwidthLimitRule(client *gophercloud.ServiceClient, policyID, ruleID string, ...) (r UpdateBandwidthLimitRuleResult) + func (r UpdateBandwidthLimitRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r UpdateBandwidthLimitRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r UpdateBandwidthLimitRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type UpdateDSCPMarkingRuleOpts struct + DSCPMark *int + func (opts UpdateDSCPMarkingRuleOpts) ToDSCPMarkingRuleUpdateMap() (map[string]interface{}, error) + type UpdateDSCPMarkingRuleOptsBuilder interface + ToDSCPMarkingRuleUpdateMap func() (map[string]interface{}, error) + type UpdateDSCPMarkingRuleResult struct + func UpdateDSCPMarkingRule(client *gophercloud.ServiceClient, policyID, ruleID string, ...) (r UpdateDSCPMarkingRuleResult) + func (r UpdateDSCPMarkingRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r UpdateDSCPMarkingRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r UpdateDSCPMarkingRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error) + type UpdateMinimumBandwidthRuleOpts struct + Direction string + MinKBps *int + func (opts UpdateMinimumBandwidthRuleOpts) ToMinimumBandwidthRuleUpdateMap() (map[string]interface{}, error) + type UpdateMinimumBandwidthRuleOptsBuilder interface + ToMinimumBandwidthRuleUpdateMap func() (map[string]interface{}, error) + type UpdateMinimumBandwidthRuleResult struct + func UpdateMinimumBandwidthRule(client *gophercloud.ServiceClient, policyID, ruleID string, ...) (r UpdateMinimumBandwidthRuleResult) + func (r UpdateMinimumBandwidthRuleResult) ExtractBandwidthLimitRule() (*BandwidthLimitRule, error) + func (r UpdateMinimumBandwidthRuleResult) ExtractDSCPMarkingRule() (*DSCPMarkingRule, error) + func (r UpdateMinimumBandwidthRuleResult) ExtractMinimumBandwidthRule() (*MinimumBandwidthRule, error)