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
|
// Code generated by MockGen. DO NOT EDIT.
// Source: client.go
//
// Generated by this command:
//
// mockgen -typed -source client.go -destination mock_client_for_test.go -package agent projectReconciler
//
// Package agent is a generated GoMock package.
package agent
import (
context "context"
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockprojectReconciler is a mock of projectReconciler interface.
type MockprojectReconciler struct {
ctrl *gomock.Controller
recorder *MockprojectReconcilerMockRecorder
}
// MockprojectReconcilerMockRecorder is the mock recorder for MockprojectReconciler.
type MockprojectReconcilerMockRecorder struct {
mock *MockprojectReconciler
}
// NewMockprojectReconciler creates a new mock instance.
func NewMockprojectReconciler(ctrl *gomock.Controller) *MockprojectReconciler {
mock := &MockprojectReconciler{ctrl: ctrl}
mock.recorder = &MockprojectReconcilerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockprojectReconciler) EXPECT() *MockprojectReconcilerMockRecorder {
return m.recorder
}
// ReconcileIndexedProjects mocks base method.
func (m *MockprojectReconciler) ReconcileIndexedProjects(ctx context.Context) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "ReconcileIndexedProjects", ctx)
}
// ReconcileIndexedProjects indicates an expected call of ReconcileIndexedProjects.
func (mr *MockprojectReconcilerMockRecorder) ReconcileIndexedProjects(ctx any) *MockprojectReconcilerReconcileIndexedProjectsCall {
mr.mock.ctrl.T.Helper()
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileIndexedProjects", reflect.TypeOf((*MockprojectReconciler)(nil).ReconcileIndexedProjects), ctx)
return &MockprojectReconcilerReconcileIndexedProjectsCall{Call: call}
}
// MockprojectReconcilerReconcileIndexedProjectsCall wrap *gomock.Call
type MockprojectReconcilerReconcileIndexedProjectsCall struct {
*gomock.Call
}
// Return rewrite *gomock.Call.Return
func (c *MockprojectReconcilerReconcileIndexedProjectsCall) Return() *MockprojectReconcilerReconcileIndexedProjectsCall {
c.Call = c.Call.Return()
return c
}
// Do rewrite *gomock.Call.Do
func (c *MockprojectReconcilerReconcileIndexedProjectsCall) Do(f func(context.Context)) *MockprojectReconcilerReconcileIndexedProjectsCall {
c.Call = c.Call.Do(f)
return c
}
// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockprojectReconcilerReconcileIndexedProjectsCall) DoAndReturn(f func(context.Context)) *MockprojectReconcilerReconcileIndexedProjectsCall {
c.Call = c.Call.DoAndReturn(f)
return c
}
|