Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEvaluationManager ¶
type AppEvaluationManager struct {
// contains filtered or unexported fields
}
func NewAppEvaluationManager ¶
func NewAppEvaluationManager(logger lager.Logger, evaluateInterval time.Duration, emClock clock.Clock, triggerChan chan []*models.Trigger, getPolicies aggregator.GetPoliciesFunc, breakerConfig config.CircuitBreakerConfig) (*AppEvaluationManager, error)
func (*AppEvaluationManager) GetBreaker ¶
func (a *AppEvaluationManager) GetBreaker(appID string) *circuit.Breaker
func (*AppEvaluationManager) SetCoolDownExpired ¶
func (a *AppEvaluationManager) SetCoolDownExpired(appID string, expiredAt int64)
func (*AppEvaluationManager) Start ¶
func (a *AppEvaluationManager) Start()
func (*AppEvaluationManager) Stop ¶
func (a *AppEvaluationManager) Stop()
type ConsumeAppMonitorMap ¶
type Evaluator ¶
type Evaluator struct {
// contains filtered or unexported fields
}
func NewEvaluator ¶
Click to show internal directories.
Click to hide internal directories.