Documentation ¶
Index ¶
- func CreateCircuitBreakerVersions(circuitBreakers []*apifault.CircuitBreaker) []*apifault.CircuitBreaker
- func CreateCircuitBreakers(namespace *apimodel.Namespace) []*apifault.CircuitBreaker
- func CreateClient(index uint32) *apiservice.Client
- func CreateConfigRelease(services []*apiservice.Service, circuitBreakers []*apifault.CircuitBreaker) []*apiservice.ConfigRelease
- func CreateInstances(service *apiservice.Service) []*apiservice.Instance
- func CreateNamespaces() []*apimodel.Namespace
- func CreateRateLimits(services []*apiservice.Service) []*apitraffic.Rule
- func CreateServices(namespace *apimodel.Namespace) []*apiservice.Service
- func CreateServicesWithTotal(namespace *apimodel.Namespace, total int) []*apiservice.Service
- func MockConfigFiles(group *apiconfig.ConfigFileGroup) []*apiconfig.ConfigFile
- func MockConfigGroups(ns *apimodel.Namespace) []*apiconfig.ConfigFileGroup
- func UpdateCircuitBreakers(circuitBreakers []*apifault.CircuitBreaker)
- func UpdateInstances(instances []*apiservice.Instance)
- func UpdateNamespaces(namespaces []*apimodel.Namespace)
- func UpdateRateLimits(rateLimits []*apitraffic.Rule)
- func UpdateServices(services []*apiservice.Service)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCircuitBreakerVersions ¶
func CreateCircuitBreakerVersions(circuitBreakers []*apifault.CircuitBreaker) []*apifault.CircuitBreaker
*
- @brief 创建熔断规则版本
func CreateCircuitBreakers ¶
func CreateCircuitBreakers(namespace *apimodel.Namespace) []*apifault.CircuitBreaker
*
- @brief 创建测试熔断规则
func CreateConfigRelease ¶
func CreateConfigRelease(services []*apiservice.Service, circuitBreakers []*apifault.CircuitBreaker) []*apiservice.ConfigRelease
*
- @brief 创建测试发布熔断规则
func CreateInstances ¶
func CreateInstances(service *apiservice.Service) []*apiservice.Instance
*
- @brief 创建测试服务实例
func CreateRateLimits ¶
func CreateRateLimits(services []*apiservice.Service) []*apitraffic.Rule
*
- @brief 创建测试限流规则
func CreateServices ¶
func CreateServices(namespace *apimodel.Namespace) []*apiservice.Service
CreateServices creates services
func CreateServicesWithTotal ¶ added in v1.16.0
func CreateServicesWithTotal(namespace *apimodel.Namespace, total int) []*apiservice.Service
func MockConfigFiles ¶
func MockConfigFiles(group *apiconfig.ConfigFileGroup) []*apiconfig.ConfigFile
func MockConfigGroups ¶
func MockConfigGroups(ns *apimodel.Namespace) []*apiconfig.ConfigFileGroup
func UpdateCircuitBreakers ¶
func UpdateCircuitBreakers(circuitBreakers []*apifault.CircuitBreaker)
*
- @brief 更新测试熔断规则
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.