package
1.18.1
Repository: https://github.com/polarismesh/polaris.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Api2RoutingConfigV2 Convert the API parameter to internal data structure.
CheckDbInstanceFieldLen 检查DB中service表对应的入参字段合法性.
CheckDbServiceAliasFieldLen 检查DB中service表对应的入参字段合法性.
CheckDbServiceFieldLen 检查DB中service表对应的入参字段合法性.
ComputeNamespace 根据SID分析,返回其对应的namespace.
CreateCl5SidList 构造sidConfigs.
No description provided by the author
No description provided by the author
GetOriginServer 获取已经初始化好的Server.
No description provided by the author
GetServer 获取已经初始化好的Server.
Initialize 初始化.
No description provided by the author
ParseInstanceArgs 解析服务实例的 ip 和 port 查询参数.
ParseIPInt2Str uint32的IP转换为字符串型.
ParseIPStr2Int 字符串IP转为uint32 转换失败的,需要明确错误.
ParseIPStr2IntV2 字符串IP转为Int,V2.
ParseSetID 解析metadata保存的setID字符串.
ParseWeight 解析metadata保存的weight字符串.
No description provided by the author
TestCheckCreateInstance .
TestInitialize 初始化.
TestIsEmptyLocation .
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

# Constants

ContextDiscoverParam key for discover parameters in context.
DefaultNamespace default namespace.
DefaultTLL default ttl.
MaxBatchSize max batch size.
some options config.
some options config.
some options config.
some options config.
some options config.
circuitbreaker表.
some options config.
some options config.
some options config.
instance表.
some options config.
some options config.
some options config.
ratelimit表.
MaxDbRoutingName routing_config_v2 表.
some options config.
some options config.
some options config.
some options config.
service表.
some options config.
some options config.
some options config.
some options config.
some options config.
MaxMetadataLength metadata max length.
some options config.
some options config.
platform表.
some options config.
some options config.
MaxQuerySize max query size.
some options config.
No description provided by the author
ParamKeyInstanceId key for parameter key instanceId.
ProductionNamespace default namespace.
QueryDefaultLimit default query limit.
QueryDefaultOffset default query offset.
QueryMaxLimit default query max.
SystemNamespace polaris system namespace.

# Variables

AliasFilterAttributes filer attrs alias.
CircuitBreakerRuleFilters filter circuitbreaker rule query parameters.
FaultDetectRuleFilters filter fault detect rule query parameters.
InsFilter2toreAttr 查询字段转为存储层的属性值,映射表.
InstanceFilterAttributes 查询实例支持的过滤字段.
Namespace2SidLayoutID namespace to sid layout id.
NotInsFilterAttr 不属于 instance 表属性的字段.
RateLimitFilters rate limit filters.
RoutingConfigFilterAttrs router config filter attrs.
RoutingConfigV2FilterAttrs router config filter attrs.
No description provided by the author
SidLayoutID2Namespace sid layout id to namespace.

# Structs

No description provided by the author
Config 核心逻辑层配置.
No description provided by the author
ResourceEvent 资源事件.
Server 对接API层的server层,用以处理业务逻辑.

# Interfaces

CircuitBreakerOperateServer Melting rule related treatment.
ClientServer Client related operation Client operation interface definition.
DiscoverServer Server discovered by the service.
No description provided by the author
FaultDetectRuleOperateServer Fault detect rules related operations.
No description provided by the author
InstanceOperateServer Example related operations.
L5OperateServer L5 related operations.
RateLimitOperateServer Lamflow rule related operation.
ReportClientOperateServer Report information operation interface on the client.
ResourceHook The listener is placed before and after the resource operation, only normal flow.
RouterRuleOperateServer Routing rules related operations.
RouteRuleOperateServer Routing rules related operations.
ServiceAliasOperateServer Service alias related operations.
ServiceContractOperateServer service contract operations.
ServiceOperateServer Service related operations.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Service2Api *model.service转换为*api.service.