Documentation ¶
Index ¶
- Variables
- func CloseCachedTargetList()
- func CloseNqmHeartbeat()
- func InitCachedTargetList(c *NqmCachedTargetListConfig)
- func InitNqmHeartbeat(c *commonQueue.Config)
- func ScheduleExecutor(schedule *model.Schedule, callback ScheduleCallback) (*model.OwlScheduleLog, error)
- type NqmCachedTargetListConfig
- type ScheduleCallback
Constants ¶
This section is empty.
Variables ¶
View Source
var NqmCachedTargetList *nqmCachedTargetListService
View Source
var NqmQueue *nqmAgentUpdateService
View Source
var ScheduleService = &scheduleService{ Execute: ScheduleExecutor, }
ScheduleService is designed to be a Execute function with namespace.
Functions ¶
func CloseCachedTargetList ¶
func CloseCachedTargetList()
func CloseNqmHeartbeat ¶
func CloseNqmHeartbeat()
func InitCachedTargetList ¶
func InitCachedTargetList(c *NqmCachedTargetListConfig)
func InitNqmHeartbeat ¶
func InitNqmHeartbeat(c *commonQueue.Config)
func ScheduleExecutor ¶
func ScheduleExecutor(schedule *model.Schedule, callback ScheduleCallback) (*model.OwlScheduleLog, error)
Types ¶
type ScheduleCallback ¶
type ScheduleCallback func() error
Click to show internal directories.
Click to hide internal directories.