Documentation
¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CommitCallback(ibtp *pb.IBTP) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetCallbackMeta() (map[string]uint64, error)
- func (m *MockClient) GetIBTP() chan *pb.IBTP
- func (m *MockClient) GetInMessage(from string, idx uint64) ([][]byte, error)
- func (m *MockClient) GetInMeta() (map[string]uint64, error)
- func (m *MockClient) GetOutMessage(to string, idx uint64) (*pb.IBTP, error)
- func (m *MockClient) GetOutMeta() (map[string]uint64, error)
- func (m *MockClient) Name() string
- func (m *MockClient) Start() error
- func (m *MockClient) Stop() error
- func (m *MockClient) SubmitIBTP(arg0 *pb.IBTP) (*model.PluginResponse, error)
- func (m *MockClient) Type() string
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CommitCallback(ibtp interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCallbackMeta() *gomock.Call
- func (mr *MockClientMockRecorder) GetIBTP() *gomock.Call
- func (mr *MockClientMockRecorder) GetInMessage(from, idx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetInMeta() *gomock.Call
- func (mr *MockClientMockRecorder) GetOutMessage(to, idx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOutMeta() *gomock.Call
- func (mr *MockClientMockRecorder) Name() *gomock.Call
- func (mr *MockClientMockRecorder) Start() *gomock.Call
- func (mr *MockClientMockRecorder) Stop() *gomock.Call
- func (mr *MockClientMockRecorder) SubmitIBTP(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Type() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CommitCallback ¶
func (m *MockClient) CommitCallback(ibtp *pb.IBTP) error
CommitCallback mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetCallbackMeta ¶
func (m *MockClient) GetCallbackMeta() (map[string]uint64, error)
GetCallbackMeta mocks base method
func (*MockClient) GetInMessage ¶
func (m *MockClient) GetInMessage(from string, idx uint64) ([][]byte, error)
GetInMessage mocks base method
func (*MockClient) GetInMeta ¶
func (m *MockClient) GetInMeta() (map[string]uint64, error)
GetInMeta mocks base method
func (*MockClient) GetOutMessage ¶
GetOutMessage mocks base method
func (*MockClient) GetOutMeta ¶
func (m *MockClient) GetOutMeta() (map[string]uint64, error)
GetOutMeta mocks base method
func (*MockClient) SubmitIBTP ¶
func (m *MockClient) SubmitIBTP(arg0 *pb.IBTP) (*model.PluginResponse, error)
SubmitIBTP mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CommitCallback ¶
func (mr *MockClientMockRecorder) CommitCallback(ibtp interface{}) *gomock.Call
CommitCallback indicates an expected call of CommitCallback
func (*MockClientMockRecorder) GetCallbackMeta ¶
func (mr *MockClientMockRecorder) GetCallbackMeta() *gomock.Call
GetCallbackMeta indicates an expected call of GetCallbackMeta
func (*MockClientMockRecorder) GetIBTP ¶
func (mr *MockClientMockRecorder) GetIBTP() *gomock.Call
GetIBTP indicates an expected call of GetIBTP
func (*MockClientMockRecorder) GetInMessage ¶
func (mr *MockClientMockRecorder) GetInMessage(from, idx interface{}) *gomock.Call
GetInMessage indicates an expected call of GetInMessage
func (*MockClientMockRecorder) GetInMeta ¶
func (mr *MockClientMockRecorder) GetInMeta() *gomock.Call
GetInMeta indicates an expected call of GetInMeta
func (*MockClientMockRecorder) GetOutMessage ¶
func (mr *MockClientMockRecorder) GetOutMessage(to, idx interface{}) *gomock.Call
GetOutMessage indicates an expected call of GetOutMessage
func (*MockClientMockRecorder) GetOutMeta ¶
func (mr *MockClientMockRecorder) GetOutMeta() *gomock.Call
GetOutMeta indicates an expected call of GetOutMeta
func (*MockClientMockRecorder) Name ¶
func (mr *MockClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockClientMockRecorder) Start ¶
func (mr *MockClientMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockClientMockRecorder) Stop ¶
func (mr *MockClientMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
func (*MockClientMockRecorder) SubmitIBTP ¶
func (mr *MockClientMockRecorder) SubmitIBTP(arg0 interface{}) *gomock.Call
SubmitIBTP indicates an expected call of SubmitIBTP
func (*MockClientMockRecorder) Type ¶
func (mr *MockClientMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type