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
/
MutableSubWorkflowNodeStatus.go
82 lines (64 loc) · 2.35 KB
/
MutableSubWorkflowNodeStatus.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
// 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"
)
// MutableSubWorkflowNodeStatus is an autogenerated mock type for the MutableSubWorkflowNodeStatus type
type MutableSubWorkflowNodeStatus struct {
mock.Mock
}
type MutableSubWorkflowNodeStatus_GetPhase struct {
*mock.Call
}
func (_m MutableSubWorkflowNodeStatus_GetPhase) Return(_a0 v1alpha1.WorkflowPhase) *MutableSubWorkflowNodeStatus_GetPhase {
return &MutableSubWorkflowNodeStatus_GetPhase{Call: _m.Call.Return(_a0)}
}
func (_m *MutableSubWorkflowNodeStatus) OnGetPhase() *MutableSubWorkflowNodeStatus_GetPhase {
c := _m.On("GetPhase")
return &MutableSubWorkflowNodeStatus_GetPhase{Call: c}
}
func (_m *MutableSubWorkflowNodeStatus) OnGetPhaseMatch(matchers ...interface{}) *MutableSubWorkflowNodeStatus_GetPhase {
c := _m.On("GetPhase", matchers...)
return &MutableSubWorkflowNodeStatus_GetPhase{Call: c}
}
// GetPhase provides a mock function with given fields:
func (_m *MutableSubWorkflowNodeStatus) GetPhase() v1alpha1.WorkflowPhase {
ret := _m.Called()
var r0 v1alpha1.WorkflowPhase
if rf, ok := ret.Get(0).(func() v1alpha1.WorkflowPhase); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(v1alpha1.WorkflowPhase)
}
return r0
}
type MutableSubWorkflowNodeStatus_IsDirty struct {
*mock.Call
}
func (_m MutableSubWorkflowNodeStatus_IsDirty) Return(_a0 bool) *MutableSubWorkflowNodeStatus_IsDirty {
return &MutableSubWorkflowNodeStatus_IsDirty{Call: _m.Call.Return(_a0)}
}
func (_m *MutableSubWorkflowNodeStatus) OnIsDirty() *MutableSubWorkflowNodeStatus_IsDirty {
c := _m.On("IsDirty")
return &MutableSubWorkflowNodeStatus_IsDirty{Call: c}
}
func (_m *MutableSubWorkflowNodeStatus) OnIsDirtyMatch(matchers ...interface{}) *MutableSubWorkflowNodeStatus_IsDirty {
c := _m.On("IsDirty", matchers...)
return &MutableSubWorkflowNodeStatus_IsDirty{Call: c}
}
// IsDirty provides a mock function with given fields:
func (_m *MutableSubWorkflowNodeStatus) IsDirty() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// SetPhase provides a mock function with given fields: phase
func (_m *MutableSubWorkflowNodeStatus) SetPhase(phase v1alpha1.WorkflowPhase) {
_m.Called(phase)
}