-
Notifications
You must be signed in to change notification settings - Fork 41
/
events.gen.go
79 lines (62 loc) · 1.93 KB
/
events.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Code generated by hack/codegen-events.py. DO NOT EDIT.
package events
import "github.com/golang/protobuf/proto"
type EventType = string
type Event interface {
proto.Message
Type() EventType
}
const (
EventWorkflowCreated EventType = "WorkflowCreated"
EventWorkflowDeleted EventType = "WorkflowDeleted"
EventWorkflowParsed EventType = "WorkflowParsed"
EventWorkflowParsingFailed EventType = "WorkflowParsingFailed"
EventInvocationCreated EventType = "InvocationCreated"
EventInvocationCompleted EventType = "InvocationCompleted"
EventInvocationCanceled EventType = "InvocationCanceled"
EventInvocationTaskAdded EventType = "InvocationTaskAdded"
EventInvocationFailed EventType = "InvocationFailed"
EventTaskStarted EventType = "TaskStarted"
EventTaskSucceeded EventType = "TaskSucceeded"
EventTaskSkipped EventType = "TaskSkipped"
EventTaskFailed EventType = "TaskFailed"
)
func (m *WorkflowCreated) Type() EventType {
return EventWorkflowCreated
}
func (m *WorkflowDeleted) Type() EventType {
return EventWorkflowDeleted
}
func (m *WorkflowParsed) Type() EventType {
return EventWorkflowParsed
}
func (m *WorkflowParsingFailed) Type() EventType {
return EventWorkflowParsingFailed
}
func (m *InvocationCreated) Type() EventType {
return EventInvocationCreated
}
func (m *InvocationCompleted) Type() EventType {
return EventInvocationCompleted
}
func (m *InvocationCanceled) Type() EventType {
return EventInvocationCanceled
}
func (m *InvocationTaskAdded) Type() EventType {
return EventInvocationTaskAdded
}
func (m *InvocationFailed) Type() EventType {
return EventInvocationFailed
}
func (m *TaskStarted) Type() EventType {
return EventTaskStarted
}
func (m *TaskSucceeded) Type() EventType {
return EventTaskSucceeded
}
func (m *TaskSkipped) Type() EventType {
return EventTaskSkipped
}
func (m *TaskFailed) Type() EventType {
return EventTaskFailed
}