Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WorkingDir string TempDir string // The hostname is the same as the pod name. Can be used for API requests. Hostname string TasksQueue *task.TasksQueue HookManager hook.HookManager ScheduleManager schedule_manager.ScheduleManager ScheduledHooks schedule_hook.ScheduledHooksStorage KubeEventsManager kube_events_manager.KubeEventsManager KubeEventsHooks kube_event_hook.KubeEventsHooksController MetricsStorage *metrics_storage.MetricStorage // ManagersEventsHandlerStopCh is the channel object for stopping infinite loop of the ManagersEventsHandler. ManagersEventsHandlerStopCh chan struct{} )
View Source
var ( QueueIsEmptyDelay = 3 * time.Second FailedHookDelay = 5 * time.Second )
Functions ¶
func CreateOnStartupTasks ¶
func CreateOnStartupTasks()
func InitHttpServer ¶
func ManagersEventsHandler ¶
func ManagersEventsHandler()
func RunMetrics ¶
func RunMetrics()
func TasksRunner ¶
func TasksRunner()
func UpdateScheduledHooks ¶
func UpdateScheduledHooks(storage schedule_hook.ScheduledHooksStorage) schedule_hook.ScheduledHooksStorage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.