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
/
ExecutableDynamicNodeStatus.go
113 lines (88 loc) · 3.74 KB
/
ExecutableDynamicNodeStatus.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
// 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"
)
// ExecutableDynamicNodeStatus is an autogenerated mock type for the ExecutableDynamicNodeStatus type
type ExecutableDynamicNodeStatus struct {
mock.Mock
}
type ExecutableDynamicNodeStatus_GetDynamicNodePhase struct {
*mock.Call
}
func (_m ExecutableDynamicNodeStatus_GetDynamicNodePhase) Return(_a0 v1alpha1.DynamicNodePhase) *ExecutableDynamicNodeStatus_GetDynamicNodePhase {
return &ExecutableDynamicNodeStatus_GetDynamicNodePhase{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableDynamicNodeStatus) OnGetDynamicNodePhase() *ExecutableDynamicNodeStatus_GetDynamicNodePhase {
c_call := _m.On("GetDynamicNodePhase")
return &ExecutableDynamicNodeStatus_GetDynamicNodePhase{Call: c_call}
}
func (_m *ExecutableDynamicNodeStatus) OnGetDynamicNodePhaseMatch(matchers ...interface{}) *ExecutableDynamicNodeStatus_GetDynamicNodePhase {
c_call := _m.On("GetDynamicNodePhase", matchers...)
return &ExecutableDynamicNodeStatus_GetDynamicNodePhase{Call: c_call}
}
// GetDynamicNodePhase provides a mock function with given fields:
func (_m *ExecutableDynamicNodeStatus) GetDynamicNodePhase() v1alpha1.DynamicNodePhase {
ret := _m.Called()
var r0 v1alpha1.DynamicNodePhase
if rf, ok := ret.Get(0).(func() v1alpha1.DynamicNodePhase); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(v1alpha1.DynamicNodePhase)
}
return r0
}
type ExecutableDynamicNodeStatus_GetDynamicNodeReason struct {
*mock.Call
}
func (_m ExecutableDynamicNodeStatus_GetDynamicNodeReason) Return(_a0 string) *ExecutableDynamicNodeStatus_GetDynamicNodeReason {
return &ExecutableDynamicNodeStatus_GetDynamicNodeReason{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableDynamicNodeStatus) OnGetDynamicNodeReason() *ExecutableDynamicNodeStatus_GetDynamicNodeReason {
c_call := _m.On("GetDynamicNodeReason")
return &ExecutableDynamicNodeStatus_GetDynamicNodeReason{Call: c_call}
}
func (_m *ExecutableDynamicNodeStatus) OnGetDynamicNodeReasonMatch(matchers ...interface{}) *ExecutableDynamicNodeStatus_GetDynamicNodeReason {
c_call := _m.On("GetDynamicNodeReason", matchers...)
return &ExecutableDynamicNodeStatus_GetDynamicNodeReason{Call: c_call}
}
// GetDynamicNodeReason provides a mock function with given fields:
func (_m *ExecutableDynamicNodeStatus) GetDynamicNodeReason() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
type ExecutableDynamicNodeStatus_GetExecutionError struct {
*mock.Call
}
func (_m ExecutableDynamicNodeStatus_GetExecutionError) Return(_a0 *core.ExecutionError) *ExecutableDynamicNodeStatus_GetExecutionError {
return &ExecutableDynamicNodeStatus_GetExecutionError{Call: _m.Call.Return(_a0)}
}
func (_m *ExecutableDynamicNodeStatus) OnGetExecutionError() *ExecutableDynamicNodeStatus_GetExecutionError {
c_call := _m.On("GetExecutionError")
return &ExecutableDynamicNodeStatus_GetExecutionError{Call: c_call}
}
func (_m *ExecutableDynamicNodeStatus) OnGetExecutionErrorMatch(matchers ...interface{}) *ExecutableDynamicNodeStatus_GetExecutionError {
c_call := _m.On("GetExecutionError", matchers...)
return &ExecutableDynamicNodeStatus_GetExecutionError{Call: c_call}
}
// GetExecutionError provides a mock function with given fields:
func (_m *ExecutableDynamicNodeStatus) GetExecutionError() *core.ExecutionError {
ret := _m.Called()
var r0 *core.ExecutionError
if rf, ok := ret.Get(0).(func() *core.ExecutionError); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*core.ExecutionError)
}
}
return r0
}