-
Notifications
You must be signed in to change notification settings - Fork 547
/
parent_info_getter.go
47 lines (37 loc) · 1.31 KB
/
parent_info_getter.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
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import (
executors "github.com/flyteorg/flyte/flytepropeller/pkg/controller/executors"
mock "github.com/stretchr/testify/mock"
)
// ParentInfoGetter is an autogenerated mock type for the ParentInfoGetter type
type ParentInfoGetter struct {
mock.Mock
}
type ParentInfoGetter_GetParentInfo struct {
*mock.Call
}
func (_m ParentInfoGetter_GetParentInfo) Return(_a0 executors.ImmutableParentInfo) *ParentInfoGetter_GetParentInfo {
return &ParentInfoGetter_GetParentInfo{Call: _m.Call.Return(_a0)}
}
func (_m *ParentInfoGetter) OnGetParentInfo() *ParentInfoGetter_GetParentInfo {
c_call := _m.On("GetParentInfo")
return &ParentInfoGetter_GetParentInfo{Call: c_call}
}
func (_m *ParentInfoGetter) OnGetParentInfoMatch(matchers ...interface{}) *ParentInfoGetter_GetParentInfo {
c_call := _m.On("GetParentInfo", matchers...)
return &ParentInfoGetter_GetParentInfo{Call: c_call}
}
// GetParentInfo provides a mock function with given fields:
func (_m *ParentInfoGetter) GetParentInfo() executors.ImmutableParentInfo {
ret := _m.Called()
var r0 executors.ImmutableParentInfo
if rf, ok := ret.Get(0).(func() executors.ImmutableParentInfo); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(executors.ImmutableParentInfo)
}
}
return r0
}