123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // Code generated by MockGen. DO NOT EDIT.
- // Source: kpt-pasture/module/backend (interfaces: DashboardService)
- // Package kptservicemock is a generated GoMock package.
- package kptservicemock
- import (
- context "context"
- reflect "reflect"
- cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
- gomock "github.com/golang/mock/gomock"
- )
- // MockDashboardService is a mock of DashboardService interface.
- type MockDashboardService struct {
- ctrl *gomock.Controller
- recorder *MockDashboardServiceMockRecorder
- }
- // MockDashboardServiceMockRecorder is the mock recorder for MockDashboardService.
- type MockDashboardServiceMockRecorder struct {
- mock *MockDashboardService
- }
- // NewMockDashboardService creates a new mock instance.
- func NewMockDashboardService(ctrl *gomock.Controller) *MockDashboardService {
- mock := &MockDashboardService{ctrl: ctrl}
- mock.recorder = &MockDashboardServiceMockRecorder{mock}
- return mock
- }
- // EXPECT returns an object that allows the caller to indicate expected use.
- func (m *MockDashboardService) EXPECT() *MockDashboardServiceMockRecorder {
- return m.recorder
- }
- // Bar mocks base method.
- func (m *MockDashboardService) Bar(arg0 context.Context) (*cowPb.BarCowStructResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Bar", arg0)
- ret0, _ := ret[0].(*cowPb.BarCowStructResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // Bar indicates an expected call of Bar.
- func (mr *MockDashboardServiceMockRecorder) Bar(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockDashboardService)(nil).Bar), arg0)
- }
|