// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/edge/api/services (interfaces: ChariotService) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" model "edge-infra.dev/pkg/edge/api/graph/model" client "edge-infra.dev/pkg/edge/chariot/client" gomock "github.com/golang/mock/gomock" ) // MockChariotService is a mock of ChariotService interface. type MockChariotService struct { ctrl *gomock.Controller recorder *MockChariotServiceMockRecorder } // MockChariotServiceMockRecorder is the mock recorder for MockChariotService. type MockChariotServiceMockRecorder struct { mock *MockChariotService } // NewMockChariotService creates a new mock instance. func NewMockChariotService(ctrl *gomock.Controller) *MockChariotService { mock := &MockChariotService{ctrl: ctrl} mock.recorder = &MockChariotServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockChariotService) EXPECT() *MockChariotServiceMockRecorder { return m.recorder } // CheckClusterAndInvokeChariotPubsub mocks base method. func (m *MockChariotService) CheckClusterAndInvokeChariotPubsub(arg0 context.Context, arg1 *model.Cluster, arg2 *client.ChariotMessage, arg3 map[string]string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CheckClusterAndInvokeChariotPubsub", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 } // CheckClusterAndInvokeChariotPubsub indicates an expected call of CheckClusterAndInvokeChariotPubsub. func (mr *MockChariotServiceMockRecorder) CheckClusterAndInvokeChariotPubsub(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterAndInvokeChariotPubsub", reflect.TypeOf((*MockChariotService)(nil).CheckClusterAndInvokeChariotPubsub), arg0, arg1, arg2, arg3) } // InvokeChariotPubsub mocks base method. func (m *MockChariotService) InvokeChariotPubsub(arg0 context.Context, arg1 *client.ChariotMessage, arg2 map[string]string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "InvokeChariotPubsub", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 } // InvokeChariotPubsub indicates an expected call of InvokeChariotPubsub. func (mr *MockChariotServiceMockRecorder) InvokeChariotPubsub(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InvokeChariotPubsub", reflect.TypeOf((*MockChariotService)(nil).InvokeChariotPubsub), arg0, arg1, arg2) }