Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTimeOut = 60 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertQueue ¶
type AlertQueue struct {
// contains filtered or unexported fields
}
func NewAlertQueue ¶
func NewAlertQueue() *AlertQueue
func (*AlertQueue) WriteBackAlert ¶
func (aq *AlertQueue) WriteBackAlert(alertId string)
type ExecutorInfo ¶
ExecutorInfo is the service register information to etcd
type ExecutorWatcher ¶
func NewExecutorWatcher ¶
func NewExecutorWatcher() *ExecutorWatcher
func (*ExecutorWatcher) GetExecutorCount ¶
func (ew *ExecutorWatcher) GetExecutorCount() int
func (*ExecutorWatcher) GetExecutors ¶
func (ew *ExecutorWatcher) GetExecutors() []ExecutorInfo
func (*ExecutorWatcher) Serve ¶
func (ew *ExecutorWatcher) Serve()
type HealthChecker ¶
type HealthChecker struct {
// contains filtered or unexported fields
}
func NewHealthChecker ¶
func NewHealthChecker() *HealthChecker
func (*HealthChecker) HealthCheck ¶
func (hc *HealthChecker) HealthCheck()
func (*HealthChecker) SetExecutorWatcher ¶
func (hc *HealthChecker) SetExecutorWatcher(executorWatcher *ExecutorWatcher)
Click to show internal directories.
Click to hide internal directories.