mock_client

package
v1.0.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

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) GetIBTP

func (m *MockClient) GetIBTP() chan *pb.IBTP

GetIBTP 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

func (m *MockClient) GetOutMessage(to string, idx uint64) (*pb.IBTP, error)

GetOutMessage mocks base method

func (*MockClient) GetOutMeta

func (m *MockClient) GetOutMeta() (map[string]uint64, error)

GetOutMeta mocks base method

func (*MockClient) Name

func (m *MockClient) Name() string

Name mocks base method

func (*MockClient) Start

func (m *MockClient) Start() error

Start mocks base method

func (*MockClient) Stop

func (m *MockClient) Stop() error

Stop mocks base method

func (*MockClient) SubmitIBTP

func (m *MockClient) SubmitIBTP(arg0 *pb.IBTP) (*model.PluginResponse, error)

SubmitIBTP mocks base method

func (*MockClient) Type

func (m *MockClient) Type() string

Type 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL