-
Notifications
You must be signed in to change notification settings - Fork 473
/
mocks.go
128 lines (109 loc) · 6.33 KB
/
mocks.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/gardener/gardener/extensions/pkg/controller/controlplane/genericactuator (interfaces: ValuesProvider)
// Package mock is a generated GoMock package.
package mock
import (
context "context"
reflect "reflect"
v1alpha1 "github.com/gardener/gardener/pkg/apis/extensions/v1alpha1"
extensions "github.com/gardener/gardener/pkg/extensions"
manager "github.com/gardener/gardener/pkg/utils/secrets/manager"
gomock "github.com/golang/mock/gomock"
)
// MockValuesProvider is a mock of ValuesProvider interface.
type MockValuesProvider struct {
ctrl *gomock.Controller
recorder *MockValuesProviderMockRecorder
}
// MockValuesProviderMockRecorder is the mock recorder for MockValuesProvider.
type MockValuesProviderMockRecorder struct {
mock *MockValuesProvider
}
// NewMockValuesProvider creates a new mock instance.
func NewMockValuesProvider(ctrl *gomock.Controller) *MockValuesProvider {
mock := &MockValuesProvider{ctrl: ctrl}
mock.recorder = &MockValuesProviderMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockValuesProvider) EXPECT() *MockValuesProviderMockRecorder {
return m.recorder
}
// GetConfigChartValues mocks base method.
func (m *MockValuesProvider) GetConfigChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetConfigChartValues", arg0, arg1, arg2)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetConfigChartValues indicates an expected call of GetConfigChartValues.
func (mr *MockValuesProviderMockRecorder) GetConfigChartValues(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfigChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetConfigChartValues), arg0, arg1, arg2)
}
// GetControlPlaneChartValues mocks base method.
func (m *MockValuesProvider) GetControlPlaneChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster, arg3 manager.Reader, arg4 map[string]string, arg5 bool) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetControlPlaneChartValues", arg0, arg1, arg2, arg3, arg4, arg5)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetControlPlaneChartValues indicates an expected call of GetControlPlaneChartValues.
func (mr *MockValuesProviderMockRecorder) GetControlPlaneChartValues(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetControlPlaneChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetControlPlaneChartValues), arg0, arg1, arg2, arg3, arg4, arg5)
}
// GetControlPlaneExposureChartValues mocks base method.
func (m *MockValuesProvider) GetControlPlaneExposureChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster, arg3 manager.Reader, arg4 map[string]string) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetControlPlaneExposureChartValues", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetControlPlaneExposureChartValues indicates an expected call of GetControlPlaneExposureChartValues.
func (mr *MockValuesProviderMockRecorder) GetControlPlaneExposureChartValues(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetControlPlaneExposureChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetControlPlaneExposureChartValues), arg0, arg1, arg2, arg3, arg4)
}
// GetControlPlaneShootCRDsChartValues mocks base method.
func (m *MockValuesProvider) GetControlPlaneShootCRDsChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetControlPlaneShootCRDsChartValues", arg0, arg1, arg2)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetControlPlaneShootCRDsChartValues indicates an expected call of GetControlPlaneShootCRDsChartValues.
func (mr *MockValuesProviderMockRecorder) GetControlPlaneShootCRDsChartValues(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetControlPlaneShootCRDsChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetControlPlaneShootCRDsChartValues), arg0, arg1, arg2)
}
// GetControlPlaneShootChartValues mocks base method.
func (m *MockValuesProvider) GetControlPlaneShootChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster, arg3 manager.Reader, arg4 map[string]string) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetControlPlaneShootChartValues", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetControlPlaneShootChartValues indicates an expected call of GetControlPlaneShootChartValues.
func (mr *MockValuesProviderMockRecorder) GetControlPlaneShootChartValues(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetControlPlaneShootChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetControlPlaneShootChartValues), arg0, arg1, arg2, arg3, arg4)
}
// GetStorageClassesChartValues mocks base method.
func (m *MockValuesProvider) GetStorageClassesChartValues(arg0 context.Context, arg1 *v1alpha1.ControlPlane, arg2 *extensions.Cluster) (map[string]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStorageClassesChartValues", arg0, arg1, arg2)
ret0, _ := ret[0].(map[string]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetStorageClassesChartValues indicates an expected call of GetStorageClassesChartValues.
func (mr *MockValuesProviderMockRecorder) GetStorageClassesChartValues(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageClassesChartValues", reflect.TypeOf((*MockValuesProvider)(nil).GetStorageClassesChartValues), arg0, arg1, arg2)
}