sigs.k8s.io/cluster-api-provider-azure@v1.14.3/pkg/coalescing/mocks/reconciler_mock.go (about) 1 /* 2 Copyright The Kubernetes Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // Code generated by MockGen. DO NOT EDIT. 18 // Source: sigs.k8s.io/controller-runtime/pkg/reconcile (interfaces: Reconciler) 19 // 20 // Generated by this command: 21 // 22 // mockgen -destination reconciler_mock.go -package mock_coalescing sigs.k8s.io/controller-runtime/pkg/reconcile Reconciler 23 // 24 25 // Package mock_coalescing is a generated GoMock package. 26 package mock_coalescing 27 28 import ( 29 context "context" 30 reflect "reflect" 31 32 gomock "go.uber.org/mock/gomock" 33 reconcile "sigs.k8s.io/controller-runtime/pkg/reconcile" 34 ) 35 36 // MockReconciler is a mock of Reconciler interface. 37 type MockReconciler struct { 38 ctrl *gomock.Controller 39 recorder *MockReconcilerMockRecorder 40 } 41 42 // MockReconcilerMockRecorder is the mock recorder for MockReconciler. 43 type MockReconcilerMockRecorder struct { 44 mock *MockReconciler 45 } 46 47 // NewMockReconciler creates a new mock instance. 48 func NewMockReconciler(ctrl *gomock.Controller) *MockReconciler { 49 mock := &MockReconciler{ctrl: ctrl} 50 mock.recorder = &MockReconcilerMockRecorder{mock} 51 return mock 52 } 53 54 // EXPECT returns an object that allows the caller to indicate expected use. 55 func (m *MockReconciler) EXPECT() *MockReconcilerMockRecorder { 56 return m.recorder 57 } 58 59 // Reconcile mocks base method. 60 func (m *MockReconciler) Reconcile(arg0 context.Context, arg1 reconcile.Request) (reconcile.Result, error) { 61 m.ctrl.T.Helper() 62 ret := m.ctrl.Call(m, "Reconcile", arg0, arg1) 63 ret0, _ := ret[0].(reconcile.Result) 64 ret1, _ := ret[1].(error) 65 return ret0, ret1 66 } 67 68 // Reconcile indicates an expected call of Reconcile. 69 func (mr *MockReconcilerMockRecorder) Reconcile(arg0, arg1 any) *gomock.Call { 70 mr.mock.ctrl.T.Helper() 71 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reconcile", reflect.TypeOf((*MockReconciler)(nil).Reconcile), arg0, arg1) 72 }