The karbor.services.operationengine.engine.triggers.timetrigger.time_trigger Module

class karbor.services.operationengine.engine.triggers.timetrigger.time_trigger.TimeTrigger(trigger_id, trigger_property, executor)

Bases: karbor.services.operationengine.engine.triggers.BaseTrigger

TRIGGER_TYPE = ‘time’
classmethod check_configuration()
classmethod check_trigger_definition(trigger_definition)

Check trigger definition

All the time instances of trigger_definition are in UTC, including start_time, end_time

register_operation(operation_id, **kwargs)
shutdown()
unregister_operation(operation_id, **kwargs)
update_trigger_property(trigger_property)
class karbor.services.operationengine.engine.triggers.timetrigger.time_trigger.TriggerOperationGreenThread(first_run_time, function)

Bases: object

kill()
pre_run_time
running