github.com/kubeshop/testkube@v1.17.23/pkg/tcl/testworkflowstcl/testworkflowprocessor/mock_intermediate.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/kubeshop/testkube/pkg/tcl/testworkflowstcl/testworkflowprocessor (interfaces: Intermediate) 3 4 // Package testworkflowprocessor is a generated GoMock package. 5 package testworkflowprocessor 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 v1 "github.com/kubeshop/testkube-operator/api/testworkflows/v1" 12 v10 "k8s.io/api/core/v1" 13 ) 14 15 // MockIntermediate is a mock of Intermediate interface. 16 type MockIntermediate struct { 17 ctrl *gomock.Controller 18 recorder *MockIntermediateMockRecorder 19 } 20 21 // MockIntermediateMockRecorder is the mock recorder for MockIntermediate. 22 type MockIntermediateMockRecorder struct { 23 mock *MockIntermediate 24 } 25 26 // NewMockIntermediate creates a new mock instance. 27 func NewMockIntermediate(ctrl *gomock.Controller) *MockIntermediate { 28 mock := &MockIntermediate{ctrl: ctrl} 29 mock.recorder = &MockIntermediateMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockIntermediate) EXPECT() *MockIntermediateMockRecorder { 35 return m.recorder 36 } 37 38 // AddBinaryFile mocks base method. 39 func (m *MockIntermediate) AddBinaryFile(arg0 []byte) (v10.VolumeMount, error) { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "AddBinaryFile", arg0) 42 ret0, _ := ret[0].(v10.VolumeMount) 43 ret1, _ := ret[1].(error) 44 return ret0, ret1 45 } 46 47 // AddBinaryFile indicates an expected call of AddBinaryFile. 48 func (mr *MockIntermediateMockRecorder) AddBinaryFile(arg0 interface{}) *gomock.Call { 49 mr.mock.ctrl.T.Helper() 50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddBinaryFile", reflect.TypeOf((*MockIntermediate)(nil).AddBinaryFile), arg0) 51 } 52 53 // AddConfigMap mocks base method. 54 func (m *MockIntermediate) AddConfigMap(arg0 v10.ConfigMap) Intermediate { 55 m.ctrl.T.Helper() 56 ret := m.ctrl.Call(m, "AddConfigMap", arg0) 57 ret0, _ := ret[0].(Intermediate) 58 return ret0 59 } 60 61 // AddConfigMap indicates an expected call of AddConfigMap. 62 func (mr *MockIntermediateMockRecorder) AddConfigMap(arg0 interface{}) *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddConfigMap", reflect.TypeOf((*MockIntermediate)(nil).AddConfigMap), arg0) 65 } 66 67 // AddEmptyDirVolume mocks base method. 68 func (m *MockIntermediate) AddEmptyDirVolume(arg0 *v10.EmptyDirVolumeSource, arg1 string) v10.VolumeMount { 69 m.ctrl.T.Helper() 70 ret := m.ctrl.Call(m, "AddEmptyDirVolume", arg0, arg1) 71 ret0, _ := ret[0].(v10.VolumeMount) 72 return ret0 73 } 74 75 // AddEmptyDirVolume indicates an expected call of AddEmptyDirVolume. 76 func (mr *MockIntermediateMockRecorder) AddEmptyDirVolume(arg0, arg1 interface{}) *gomock.Call { 77 mr.mock.ctrl.T.Helper() 78 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddEmptyDirVolume", reflect.TypeOf((*MockIntermediate)(nil).AddEmptyDirVolume), arg0, arg1) 79 } 80 81 // AddSecret mocks base method. 82 func (m *MockIntermediate) AddSecret(arg0 v10.Secret) Intermediate { 83 m.ctrl.T.Helper() 84 ret := m.ctrl.Call(m, "AddSecret", arg0) 85 ret0, _ := ret[0].(Intermediate) 86 return ret0 87 } 88 89 // AddSecret indicates an expected call of AddSecret. 90 func (mr *MockIntermediateMockRecorder) AddSecret(arg0 interface{}) *gomock.Call { 91 mr.mock.ctrl.T.Helper() 92 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSecret", reflect.TypeOf((*MockIntermediate)(nil).AddSecret), arg0) 93 } 94 95 // AddTextFile mocks base method. 96 func (m *MockIntermediate) AddTextFile(arg0 string) (v10.VolumeMount, error) { 97 m.ctrl.T.Helper() 98 ret := m.ctrl.Call(m, "AddTextFile", arg0) 99 ret0, _ := ret[0].(v10.VolumeMount) 100 ret1, _ := ret[1].(error) 101 return ret0, ret1 102 } 103 104 // AddTextFile indicates an expected call of AddTextFile. 105 func (mr *MockIntermediateMockRecorder) AddTextFile(arg0 interface{}) *gomock.Call { 106 mr.mock.ctrl.T.Helper() 107 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTextFile", reflect.TypeOf((*MockIntermediate)(nil).AddTextFile), arg0) 108 } 109 110 // AddVolume mocks base method. 111 func (m *MockIntermediate) AddVolume(arg0 v10.Volume) Intermediate { 112 m.ctrl.T.Helper() 113 ret := m.ctrl.Call(m, "AddVolume", arg0) 114 ret0, _ := ret[0].(Intermediate) 115 return ret0 116 } 117 118 // AddVolume indicates an expected call of AddVolume. 119 func (mr *MockIntermediateMockRecorder) AddVolume(arg0 interface{}) *gomock.Call { 120 mr.mock.ctrl.T.Helper() 121 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolume", reflect.TypeOf((*MockIntermediate)(nil).AddVolume), arg0) 122 } 123 124 // AppendJobConfig mocks base method. 125 func (m *MockIntermediate) AppendJobConfig(arg0 *v1.JobConfig) Intermediate { 126 m.ctrl.T.Helper() 127 ret := m.ctrl.Call(m, "AppendJobConfig", arg0) 128 ret0, _ := ret[0].(Intermediate) 129 return ret0 130 } 131 132 // AppendJobConfig indicates an expected call of AppendJobConfig. 133 func (mr *MockIntermediateMockRecorder) AppendJobConfig(arg0 interface{}) *gomock.Call { 134 mr.mock.ctrl.T.Helper() 135 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendJobConfig", reflect.TypeOf((*MockIntermediate)(nil).AppendJobConfig), arg0) 136 } 137 138 // AppendPodConfig mocks base method. 139 func (m *MockIntermediate) AppendPodConfig(arg0 *v1.PodConfig) Intermediate { 140 m.ctrl.T.Helper() 141 ret := m.ctrl.Call(m, "AppendPodConfig", arg0) 142 ret0, _ := ret[0].(Intermediate) 143 return ret0 144 } 145 146 // AppendPodConfig indicates an expected call of AppendPodConfig. 147 func (mr *MockIntermediateMockRecorder) AppendPodConfig(arg0 interface{}) *gomock.Call { 148 mr.mock.ctrl.T.Helper() 149 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendPodConfig", reflect.TypeOf((*MockIntermediate)(nil).AppendPodConfig), arg0) 150 } 151 152 // ConfigMaps mocks base method. 153 func (m *MockIntermediate) ConfigMaps() []v10.ConfigMap { 154 m.ctrl.T.Helper() 155 ret := m.ctrl.Call(m, "ConfigMaps") 156 ret0, _ := ret[0].([]v10.ConfigMap) 157 return ret0 158 } 159 160 // ConfigMaps indicates an expected call of ConfigMaps. 161 func (mr *MockIntermediateMockRecorder) ConfigMaps() *gomock.Call { 162 mr.mock.ctrl.T.Helper() 163 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigMaps", reflect.TypeOf((*MockIntermediate)(nil).ConfigMaps)) 164 } 165 166 // ContainerDefaults mocks base method. 167 func (m *MockIntermediate) ContainerDefaults() Container { 168 m.ctrl.T.Helper() 169 ret := m.ctrl.Call(m, "ContainerDefaults") 170 ret0, _ := ret[0].(Container) 171 return ret0 172 } 173 174 // ContainerDefaults indicates an expected call of ContainerDefaults. 175 func (mr *MockIntermediateMockRecorder) ContainerDefaults() *gomock.Call { 176 mr.mock.ctrl.T.Helper() 177 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerDefaults", reflect.TypeOf((*MockIntermediate)(nil).ContainerDefaults)) 178 } 179 180 // JobConfig mocks base method. 181 func (m *MockIntermediate) JobConfig() v1.JobConfig { 182 m.ctrl.T.Helper() 183 ret := m.ctrl.Call(m, "JobConfig") 184 ret0, _ := ret[0].(v1.JobConfig) 185 return ret0 186 } 187 188 // JobConfig indicates an expected call of JobConfig. 189 func (mr *MockIntermediateMockRecorder) JobConfig() *gomock.Call { 190 mr.mock.ctrl.T.Helper() 191 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "JobConfig", reflect.TypeOf((*MockIntermediate)(nil).JobConfig)) 192 } 193 194 // NextRef mocks base method. 195 func (m *MockIntermediate) NextRef() string { 196 m.ctrl.T.Helper() 197 ret := m.ctrl.Call(m, "NextRef") 198 ret0, _ := ret[0].(string) 199 return ret0 200 } 201 202 // NextRef indicates an expected call of NextRef. 203 func (mr *MockIntermediateMockRecorder) NextRef() *gomock.Call { 204 mr.mock.ctrl.T.Helper() 205 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextRef", reflect.TypeOf((*MockIntermediate)(nil).NextRef)) 206 } 207 208 // PodConfig mocks base method. 209 func (m *MockIntermediate) PodConfig() v1.PodConfig { 210 m.ctrl.T.Helper() 211 ret := m.ctrl.Call(m, "PodConfig") 212 ret0, _ := ret[0].(v1.PodConfig) 213 return ret0 214 } 215 216 // PodConfig indicates an expected call of PodConfig. 217 func (mr *MockIntermediateMockRecorder) PodConfig() *gomock.Call { 218 mr.mock.ctrl.T.Helper() 219 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodConfig", reflect.TypeOf((*MockIntermediate)(nil).PodConfig)) 220 } 221 222 // Secrets mocks base method. 223 func (m *MockIntermediate) Secrets() []v10.Secret { 224 m.ctrl.T.Helper() 225 ret := m.ctrl.Call(m, "Secrets") 226 ret0, _ := ret[0].([]v10.Secret) 227 return ret0 228 } 229 230 // Secrets indicates an expected call of Secrets. 231 func (mr *MockIntermediateMockRecorder) Secrets() *gomock.Call { 232 mr.mock.ctrl.T.Helper() 233 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Secrets", reflect.TypeOf((*MockIntermediate)(nil).Secrets)) 234 } 235 236 // Volumes mocks base method. 237 func (m *MockIntermediate) Volumes() []v10.Volume { 238 m.ctrl.T.Helper() 239 ret := m.ctrl.Call(m, "Volumes") 240 ret0, _ := ret[0].([]v10.Volume) 241 return ret0 242 } 243 244 // Volumes indicates an expected call of Volumes. 245 func (mr *MockIntermediateMockRecorder) Volumes() *gomock.Call { 246 mr.mock.ctrl.T.Helper() 247 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Volumes", reflect.TypeOf((*MockIntermediate)(nil).Volumes)) 248 }