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 63
/
list_targets_interface.go
82 lines (64 loc) · 2.56 KB
/
list_targets_interface.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 (
executioncluster "github.com/flyteorg/flyteadmin/pkg/executioncluster"
mock "github.com/stretchr/testify/mock"
)
// ListTargetsInterface is an autogenerated mock type for the ListTargetsInterface type
type ListTargetsInterface struct {
mock.Mock
}
type ListTargetsInterface_GetAllTargets struct {
*mock.Call
}
func (_m ListTargetsInterface_GetAllTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ListTargetsInterface_GetAllTargets {
return &ListTargetsInterface_GetAllTargets{Call: _m.Call.Return(_a0)}
}
func (_m *ListTargetsInterface) OnGetAllTargets() *ListTargetsInterface_GetAllTargets {
c_call := _m.On("GetAllTargets")
return &ListTargetsInterface_GetAllTargets{Call: c_call}
}
func (_m *ListTargetsInterface) OnGetAllTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetAllTargets {
c_call := _m.On("GetAllTargets", matchers...)
return &ListTargetsInterface_GetAllTargets{Call: c_call}
}
// GetAllTargets provides a mock function with given fields:
func (_m *ListTargetsInterface) GetAllTargets() map[string]*executioncluster.ExecutionTarget {
ret := _m.Called()
var r0 map[string]*executioncluster.ExecutionTarget
if rf, ok := ret.Get(0).(func() map[string]*executioncluster.ExecutionTarget); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(map[string]*executioncluster.ExecutionTarget)
}
}
return r0
}
type ListTargetsInterface_GetValidTargets struct {
*mock.Call
}
func (_m ListTargetsInterface_GetValidTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ListTargetsInterface_GetValidTargets {
return &ListTargetsInterface_GetValidTargets{Call: _m.Call.Return(_a0)}
}
func (_m *ListTargetsInterface) OnGetValidTargets() *ListTargetsInterface_GetValidTargets {
c_call := _m.On("GetValidTargets")
return &ListTargetsInterface_GetValidTargets{Call: c_call}
}
func (_m *ListTargetsInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetValidTargets {
c_call := _m.On("GetValidTargets", matchers...)
return &ListTargetsInterface_GetValidTargets{Call: c_call}
}
// GetValidTargets provides a mock function with given fields:
func (_m *ListTargetsInterface) GetValidTargets() map[string]*executioncluster.ExecutionTarget {
ret := _m.Called()
var r0 map[string]*executioncluster.ExecutionTarget
if rf, ok := ret.Get(0).(func() map[string]*executioncluster.ExecutionTarget); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(map[string]*executioncluster.ExecutionTarget)
}
}
return r0
}