Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallPlugin ¶
InstallPlugin install implementation
Types ¶
type LoadBalancingConfig ¶
type LoadBalancingConfig struct {
Strategy string
Filters []string
RetryEnabled bool
RetryOnSame int
RetryOnNext int
BackOffKind string
BackOffMin int
BackOffMax int
SessionTimeoutInSeconds int
SuccessiveFailedTimes int
}
LoadBalancingConfig is a standardized model
type Panel ¶
type Panel interface {
GetCircuitBreaker(inv invocation.Invocation, serviceType string) (string, hystrix.CommandConfig)
GetLoadBalancing(inv invocation.Invocation) LoadBalancingConfig
GetRateLimiting(inv invocation.Invocation, serviceType string) RateLimitingConfig
GetFaultInjection(inv invocation.Invocation) model.Fault
GetEgressRule(inv invocation.Invocation)
}
Panel is a abstraction of pulling configurations from various of systems, and transfer different configuration into standardized model you can use different panel implementation to pull different of configs from Istio or Archaius TODO able to set configs
var DefaultPanel Panel
DefaultPanel get fetch config
type RateLimitingConfig ¶
RateLimitingConfig is a standardized model
Click to show internal directories.
Click to hide internal directories.