// Code generated by MockGen. DO NOT EDIT. // Source: executor.go // Package mock_executor is a generated GoMock package. package mock_executor import ( reflect "reflect" gomock "github.com/golang/mock/gomock" pb "gitlab.33.cn/link33/sidecar/model/pb" ) // MockExecutor is a mock of Executor interface. type MockExecutor struct { ctrl *gomock.Controller recorder *MockExecutorMockRecorder } // MockExecutorMockRecorder is the mock recorder for MockExecutor. type MockExecutorMockRecorder struct { mock *MockExecutor } // NewMockExecutor creates a new mock instance. func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor { mock := &MockExecutor{ctrl: ctrl} mock.recorder = &MockExecutorMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder { return m.recorder } // ExecuteIBTP mocks base method. func (m *MockExecutor) ExecuteIBTP(Ibtp *pb.IBTP) (*pb.IBTP, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ExecuteIBTP", Ibtp) ret0, _ := ret[0].(*pb.IBTP) ret1, _ := ret[1].(error) return ret0, ret1 } // ExecuteIBTP indicates an expected call of ExecuteIBTP. func (mr *MockExecutorMockRecorder) ExecuteIBTP(Ibtp interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteIBTP", reflect.TypeOf((*MockExecutor)(nil).ExecuteIBTP), Ibtp) } // QueryCallbackMeta mocks base method. func (m *MockExecutor) QueryCallbackMeta() map[string]uint64 { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "QueryCallbackMeta") ret0, _ := ret[0].(map[string]uint64) return ret0 } // QueryCallbackMeta indicates an expected call of QueryCallbackMeta. func (mr *MockExecutorMockRecorder) QueryCallbackMeta() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryCallbackMeta", reflect.TypeOf((*MockExecutor)(nil).QueryCallbackMeta)) } // QueryIBTPReceipt mocks base method. func (m *MockExecutor) QueryIBTPReceipt(originalIBTP *pb.IBTP) (*pb.IBTP, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "QueryIBTPReceipt", originalIBTP) ret0, _ := ret[0].(*pb.IBTP) ret1, _ := ret[1].(error) return ret0, ret1 } // QueryIBTPReceipt indicates an expected call of QueryIBTPReceipt. func (mr *MockExecutorMockRecorder) QueryIBTPReceipt(originalIBTP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryIBTPReceipt", reflect.TypeOf((*MockExecutor)(nil).QueryIBTPReceipt), originalIBTP) } // QueryInterchainMeta mocks base method. func (m *MockExecutor) QueryInterchainMeta() map[string]uint64 { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "QueryInterchainMeta") ret0, _ := ret[0].(map[string]uint64) return ret0 } // QueryInterchainMeta indicates an expected call of QueryInterchainMeta. func (mr *MockExecutorMockRecorder) QueryInterchainMeta() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryInterchainMeta", reflect.TypeOf((*MockExecutor)(nil).QueryInterchainMeta)) } // Rollback mocks base method. func (m *MockExecutor) Rollback(ibtp *pb.IBTP, isSrcChain bool) { m.ctrl.T.Helper() m.ctrl.Call(m, "Rollback", ibtp, isSrcChain) } // Rollback indicates an expected call of Rollback. func (mr *MockExecutorMockRecorder) Rollback(ibtp, isSrcChain interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rollback", reflect.TypeOf((*MockExecutor)(nil).Rollback), ibtp, isSrcChain) }