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