Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckCallBack ¶
type HealthCheckCallBack struct {
// contains filtered or unexported fields
}
健康探测回调任务
func NewHealthCheckCallBack ¶
func NewHealthCheckCallBack(cfg config.Configuration, supplier plugin.Supplier) (*HealthCheckCallBack, error)
创建健康检查的回调
func (*HealthCheckCallBack) OnTaskEvent ¶
func (c *HealthCheckCallBack) OnTaskEvent(event model.TaskEvent)
OnTaskEvent 任务事件回调
func (*HealthCheckCallBack) Process ¶
func (c *HealthCheckCallBack) Process( taskKey interface{}, taskValue interface{}, lastProcessTime time.Time) model.TaskResult
执行任务
Click to show internal directories.
Click to hide internal directories.