sigs.k8s.io/cluster-api-provider-azure@v1.14.3/exp/controllers/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/cluster-api-provider-azure/azure (interfaces: Reconciler)
    19  //
    20  // Generated by this command:
    21  //
    22  //	mockgen -destination reconciler_mock.go -package mock_controllers sigs.k8s.io/cluster-api-provider-azure/azure Reconciler
    23  //
    24  
    25  // Package mock_controllers is a generated GoMock package.
    26  package mock_controllers
    27  
    28  import (
    29  	context "context"
    30  	reflect "reflect"
    31  
    32  	gomock "go.uber.org/mock/gomock"
    33  )
    34  
    35  // MockReconciler is a mock of Reconciler interface.
    36  type MockReconciler struct {
    37  	ctrl     *gomock.Controller
    38  	recorder *MockReconcilerMockRecorder
    39  }
    40  
    41  // MockReconcilerMockRecorder is the mock recorder for MockReconciler.
    42  type MockReconcilerMockRecorder struct {
    43  	mock *MockReconciler
    44  }
    45  
    46  // NewMockReconciler creates a new mock instance.
    47  func NewMockReconciler(ctrl *gomock.Controller) *MockReconciler {
    48  	mock := &MockReconciler{ctrl: ctrl}
    49  	mock.recorder = &MockReconcilerMockRecorder{mock}
    50  	return mock
    51  }
    52  
    53  // EXPECT returns an object that allows the caller to indicate expected use.
    54  func (m *MockReconciler) EXPECT() *MockReconcilerMockRecorder {
    55  	return m.recorder
    56  }
    57  
    58  // Delete mocks base method.
    59  func (m *MockReconciler) Delete(arg0 context.Context) error {
    60  	m.ctrl.T.Helper()
    61  	ret := m.ctrl.Call(m, "Delete", arg0)
    62  	ret0, _ := ret[0].(error)
    63  	return ret0
    64  }
    65  
    66  // Delete indicates an expected call of Delete.
    67  func (mr *MockReconcilerMockRecorder) Delete(arg0 any) *gomock.Call {
    68  	mr.mock.ctrl.T.Helper()
    69  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockReconciler)(nil).Delete), arg0)
    70  }
    71  
    72  // Reconcile mocks base method.
    73  func (m *MockReconciler) Reconcile(arg0 context.Context) error {
    74  	m.ctrl.T.Helper()
    75  	ret := m.ctrl.Call(m, "Reconcile", arg0)
    76  	ret0, _ := ret[0].(error)
    77  	return ret0
    78  }
    79  
    80  // Reconcile indicates an expected call of Reconcile.
    81  func (mr *MockReconcilerMockRecorder) Reconcile(arg0 any) *gomock.Call {
    82  	mr.mock.ctrl.T.Helper()
    83  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reconcile", reflect.TypeOf((*MockReconciler)(nil).Reconcile), arg0)
    84  }