This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
ExecutableBranchNode.go
151 lines (119 loc) · 3.96 KB
/
ExecutableBranchNode.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import (
core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
mock "github.com/stretchr/testify/mock"
v1alpha1 "github.com/flyteorg/flytepropeller/pkg/apis/flyteworkflow/v1alpha1"
)
// ExecutableBranchNode is an autogenerated mock type for the ExecutableBranchNode type
type ExecutableBranchNode struct {
mock.Mock
}
type ExecutableBranchNode_GetElse struct {
*mock.Call
}
func (_m ExecutableBranchNode_GetElse) Return(_a0 *string) *ExecutableBranchNode_GetElse {
return &ExecutableBranchNode_GetElse{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNode) OnGetElse() *ExecutableBranchNode_GetElse {
c := _m.On("GetElse")
return &ExecutableBranchNode_GetElse{Call: c}
}
func (_m *ExecutableBranchNode) OnGetElseMatch(matchers ...interface{}) *ExecutableBranchNode_GetElse {
c := _m.On("GetElse", matchers...)
return &ExecutableBranchNode_GetElse{Call: c}
}
// GetElse provides a mock function with given fields:
func (_m *ExecutableBranchNode) GetElse() *string {
ret := _m.Called()
var r0 *string
if rf, ok := ret.Get(0).(func() *string); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*string)
}
}
return r0
}
type ExecutableBranchNode_GetElseFail struct {
*mock.Call
}
func (_m ExecutableBranchNode_GetElseFail) Return(_a0 *core.Error) *ExecutableBranchNode_GetElseFail {
return &ExecutableBranchNode_GetElseFail{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNode) OnGetElseFail() *ExecutableBranchNode_GetElseFail {
c := _m.On("GetElseFail")
return &ExecutableBranchNode_GetElseFail{Call: c}
}
func (_m *ExecutableBranchNode) OnGetElseFailMatch(matchers ...interface{}) *ExecutableBranchNode_GetElseFail {
c := _m.On("GetElseFail", matchers...)
return &ExecutableBranchNode_GetElseFail{Call: c}
}
// GetElseFail provides a mock function with given fields:
func (_m *ExecutableBranchNode) GetElseFail() *core.Error {
ret := _m.Called()
var r0 *core.Error
if rf, ok := ret.Get(0).(func() *core.Error); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*core.Error)
}
}
return r0
}
type ExecutableBranchNode_GetElseIf struct {
*mock.Call
}
func (_m ExecutableBranchNode_GetElseIf) Return(_a0 []v1alpha1.ExecutableIfBlock) *ExecutableBranchNode_GetElseIf {
return &ExecutableBranchNode_GetElseIf{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNode) OnGetElseIf() *ExecutableBranchNode_GetElseIf {
c := _m.On("GetElseIf")
return &ExecutableBranchNode_GetElseIf{Call: c}
}
func (_m *ExecutableBranchNode) OnGetElseIfMatch(matchers ...interface{}) *ExecutableBranchNode_GetElseIf {
c := _m.On("GetElseIf", matchers...)
return &ExecutableBranchNode_GetElseIf{Call: c}
}
// GetElseIf provides a mock function with given fields:
func (_m *ExecutableBranchNode) GetElseIf() []v1alpha1.ExecutableIfBlock {
ret := _m.Called()
var r0 []v1alpha1.ExecutableIfBlock
if rf, ok := ret.Get(0).(func() []v1alpha1.ExecutableIfBlock); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]v1alpha1.ExecutableIfBlock)
}
}
return r0
}
type ExecutableBranchNode_GetIf struct {
*mock.Call
}
func (_m ExecutableBranchNode_GetIf) Return(_a0 v1alpha1.ExecutableIfBlock) *ExecutableBranchNode_GetIf {
return &ExecutableBranchNode_GetIf{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNode) OnGetIf() *ExecutableBranchNode_GetIf {
c := _m.On("GetIf")
return &ExecutableBranchNode_GetIf{Call: c}
}
func (_m *ExecutableBranchNode) OnGetIfMatch(matchers ...interface{}) *ExecutableBranchNode_GetIf {
c := _m.On("GetIf", matchers...)
return &ExecutableBranchNode_GetIf{Call: c}
}
// GetIf provides a mock function with given fields:
func (_m *ExecutableBranchNode) GetIf() v1alpha1.ExecutableIfBlock {
ret := _m.Called()
var r0 v1alpha1.ExecutableIfBlock
if rf, ok := ret.Get(0).(func() v1alpha1.ExecutableIfBlock); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(v1alpha1.ExecutableIfBlock)
}
}
return r0
}