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
/
ExecutableBranchNodeStatus.go
79 lines (62 loc) · 2.32 KB
/
ExecutableBranchNodeStatus.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 mockery v1.0.1. DO NOT EDIT.
package mocks
import (
v1alpha1 "github.com/flyteorg/flytepropeller/pkg/apis/flyteworkflow/v1alpha1"
mock "github.com/stretchr/testify/mock"
)
// ExecutableBranchNodeStatus is an autogenerated mock type for the ExecutableBranchNodeStatus type
type ExecutableBranchNodeStatus struct {
mock.Mock
}
type ExecutableBranchNodeStatus_GetFinalizedNode struct {
*mock.Call
}
func (_m ExecutableBranchNodeStatus_GetFinalizedNode) Return(_a0 *string) *ExecutableBranchNodeStatus_GetFinalizedNode {
return &ExecutableBranchNodeStatus_GetFinalizedNode{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNodeStatus) OnGetFinalizedNode() *ExecutableBranchNodeStatus_GetFinalizedNode {
c := _m.On("GetFinalizedNode")
return &ExecutableBranchNodeStatus_GetFinalizedNode{Call: c}
}
func (_m *ExecutableBranchNodeStatus) OnGetFinalizedNodeMatch(matchers ...interface{}) *ExecutableBranchNodeStatus_GetFinalizedNode {
c := _m.On("GetFinalizedNode", matchers...)
return &ExecutableBranchNodeStatus_GetFinalizedNode{Call: c}
}
// GetFinalizedNode provides a mock function with given fields:
func (_m *ExecutableBranchNodeStatus) GetFinalizedNode() *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 ExecutableBranchNodeStatus_GetPhase struct {
*mock.Call
}
func (_m ExecutableBranchNodeStatus_GetPhase) Return(_a0 v1alpha1.BranchNodePhase) *ExecutableBranchNodeStatus_GetPhase {
return &ExecutableBranchNodeStatus_GetPhase{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableBranchNodeStatus) OnGetPhase() *ExecutableBranchNodeStatus_GetPhase {
c := _m.On("GetPhase")
return &ExecutableBranchNodeStatus_GetPhase{Call: c}
}
func (_m *ExecutableBranchNodeStatus) OnGetPhaseMatch(matchers ...interface{}) *ExecutableBranchNodeStatus_GetPhase {
c := _m.On("GetPhase", matchers...)
return &ExecutableBranchNodeStatus_GetPhase{Call: c}
}
// GetPhase provides a mock function with given fields:
func (_m *ExecutableBranchNodeStatus) GetPhase() v1alpha1.BranchNodePhase {
ret := _m.Called()
var r0 v1alpha1.BranchNodePhase
if rf, ok := ret.Get(0).(func() v1alpha1.BranchNodePhase); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(v1alpha1.BranchNodePhase)
}
return r0
}