Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyDagInstanceUpdated = "DagInstanceUpdated" KeyDagInstancePatched = "DagInstancePatched" KeyTaskCompleted = "TaskCompleted" KeyTaskBegin = "TaskBegin" KeyLeaderChanged = "LeaderChanged" KeyDispatchInitDagInsCompleted = "DispatchInitDagInsCompleted" KeyParseScheduleDagInsCompleted = "ParseScheduleDagInsCompleted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DagInstancePatched ¶
type DagInstancePatched struct { Payload *entity.DagInstance MustPatchFields []string }
DagInstanceUpdated will raise when dag instance he updated
type DagInstanceUpdated ¶
type DagInstanceUpdated struct {
Payload *entity.DagInstance
}
DagInstanceUpdated will raise when dag instance he updated
type DispatchInitDagInsCompleted ¶
DispatchInitDagInsCompleted will raise when leader changed such as campaign success or continue leader failed
func (*DispatchInitDagInsCompleted) Topic ¶
func (e *DispatchInitDagInsCompleted) Topic() []string
Topic
type LeaderChanged ¶
LeaderChanged will raise when leader changed such as campaign success or continue leader failed
type ParseScheduleDagInsCompleted ¶
ParseScheduleDagInsCompleted will raise when leader changed such as campaign success or continue leader failed
func (*ParseScheduleDagInsCompleted) Topic ¶
func (e *ParseScheduleDagInsCompleted) Topic() []string
Topic
type TaskBegin ¶
type TaskBegin struct {
TaskIns *entity.TaskInstance
}
TaskCompleted will raise when executor completed a task instance,
type TaskCompleted ¶
type TaskCompleted struct {
TaskIns *entity.TaskInstance
}
TaskCompleted will raise when executor completed a task instance,
Click to show internal directories.
Click to hide internal directories.