# Functions
ClearRules 清理Gray模块的全部规则.
ClearRulesOfResource 清理Gray模块的特定资源规则.
GetRules 返回全部规则的copy.
GetRulesOfResource 返回特定资源规则的copy.
IsValidRule 检查是否为有效的规则.
LoadRules 为rule manager 加载灰度规则,所有之前的规则将会被替换.
LoadRulesOfResource 为rule manager加载给定resource的灰度规则,同时之前resource的全部规则将会被替换.
NewConditionTrafficSelector 新建条件流量选择器.
NewTagTrafficSelector 新建标签流量选择器.
No description provided by the author
No description provided by the author
RemoveTrafficSelectorGenerator 移除给定的路由 RouterStrategy 策略设置.
SetTrafficSelectorGenerator 为给定的路由 RouterStrategy 策略设置流量选择器.
# Constants
No description provided by the author
No description provided by the author
ConditionRouter 条件路由.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RuleCheckSlotOrder 灰度策略需要在最后一个,因为执行完此结果就返回了.
TagRouter 标签路由.
WeightRouter 权重路由.
# Variables
No description provided by the author
# Structs
ConditionTrafficSelector 条件流量选择器.
GCondition 灰度条件集合.
GParam 灰度Param.
GTag 灰度标签.
GWeight 灰度权重.
No description provided by the author
No description provided by the author
TagTrafficSelector 标签流量选择器.
TrafficSelectorController 流量选择Controller.
WeightTrafficSelector 权重流量选择器.
# Interfaces
TrafficSelector 基于灰度规则和实际的流量计算对应的输出资源及地址.
# Type aliases
Conditions 条件.
Op 运算符.
RouterParameterType 路由参数类型.
RouterStrategy 路由策略.
TrafficControllerGenFunc 根据指定的Rule产生对应的controller.
TrafficControllerMap 存储TrafficSelectorController的map.