mock_client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: Apache-2.0 Imports: 8 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 MockAccountClient

type MockAccountClient struct {
	// contains filtered or unexported fields
}

MockAccountClient is a mock of AccountClient interface

func NewMockAccountClient

func NewMockAccountClient(ctrl *gomock.Controller) *MockAccountClient

NewMockAccountClient creates a new mock instance

func (*MockAccountClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAccountClient) GetByAddress

func (m *MockAccountClient) GetByAddress(arg0 string, arg1 int64) (*accountpb.GetByAddressResponse, error)

GetByAddress mocks base method

type MockAccountClientMockRecorder

type MockAccountClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountClientMockRecorder is the mock recorder for MockAccountClient

func (*MockAccountClientMockRecorder) GetByAddress

func (mr *MockAccountClientMockRecorder) GetByAddress(arg0, arg1 interface{}) *gomock.Call

GetByAddress indicates an expected call of GetByAddress

type MockBlockClient

type MockBlockClient struct {
	// contains filtered or unexported fields
}

MockBlockClient is a mock of BlockClient interface

func NewMockBlockClient

func NewMockBlockClient(ctrl *gomock.Controller) *MockBlockClient

NewMockBlockClient creates a new mock instance

func (*MockBlockClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBlockClient) GetByHeight

func (m *MockBlockClient) GetByHeight(arg0 int64) (*blockpb.GetByHeightResponse, error)

GetByHeight mocks base method

type MockBlockClientMockRecorder

type MockBlockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockClientMockRecorder is the mock recorder for MockBlockClient

func (*MockBlockClientMockRecorder) GetByHeight

func (mr *MockBlockClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight

type MockChainClient

type MockChainClient struct {
	// contains filtered or unexported fields
}

MockChainClient is a mock of ChainClient interface

func NewMockChainClient

func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient

NewMockChainClient creates a new mock instance

func (*MockChainClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockChainClient) GeMetaByHeight

func (m *MockChainClient) GeMetaByHeight(arg0 int64) (*chainpb.GetMetaByHeightResponse, error)

GeMetaByHeight mocks base method

func (*MockChainClient) GeStatus

func (m *MockChainClient) GeStatus() (*chainpb.GetStatusResponse, error)

GeStatus mocks base method

func (*MockChainClient) GetHead

func (m *MockChainClient) GetHead() (*chainpb.GetHeadResponse, error)

GetHead mocks base method

type MockChainClientMockRecorder

type MockChainClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockChainClientMockRecorder is the mock recorder for MockChainClient

func (*MockChainClientMockRecorder) GeMetaByHeight

func (mr *MockChainClientMockRecorder) GeMetaByHeight(arg0 interface{}) *gomock.Call

GeMetaByHeight indicates an expected call of GeMetaByHeight

func (*MockChainClientMockRecorder) GeStatus

func (mr *MockChainClientMockRecorder) GeStatus() *gomock.Call

GeStatus indicates an expected call of GeStatus

func (*MockChainClientMockRecorder) GetHead

func (mr *MockChainClientMockRecorder) GetHead() *gomock.Call

GetHead indicates an expected call of GetHead

type MockStateClient

type MockStateClient struct {
	// contains filtered or unexported fields
}

MockStateClient is a mock of StateClient interface

func NewMockStateClient

func NewMockStateClient(ctrl *gomock.Controller) *MockStateClient

NewMockStateClient creates a new mock instance

func (*MockStateClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStateClient) GetByHeight

func (m *MockStateClient) GetByHeight(arg0 int64) (*statepb.GetByHeightResponse, error)

GetByHeight mocks base method

func (*MockStateClient) GetStakingByHeight

func (m *MockStateClient) GetStakingByHeight(arg0 int64) (*statepb.GetStakingByHeightResponse, error)

GetStakingByHeight mocks base method

type MockStateClientMockRecorder

type MockStateClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateClientMockRecorder is the mock recorder for MockStateClient

func (*MockStateClientMockRecorder) GetByHeight

func (mr *MockStateClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight

func (*MockStateClientMockRecorder) GetStakingByHeight

func (mr *MockStateClientMockRecorder) GetStakingByHeight(arg0 interface{}) *gomock.Call

GetStakingByHeight indicates an expected call of GetStakingByHeight

type MockTransactionClient

type MockTransactionClient struct {
	// contains filtered or unexported fields
}

MockTransactionClient is a mock of TransactionClient interface

func NewMockTransactionClient

func NewMockTransactionClient(ctrl *gomock.Controller) *MockTransactionClient

NewMockTransactionClient creates a new mock instance

func (*MockTransactionClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransactionClient) GetByHeight

GetByHeight mocks base method

type MockTransactionClientMockRecorder

type MockTransactionClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransactionClientMockRecorder is the mock recorder for MockTransactionClient

func (*MockTransactionClientMockRecorder) GetByHeight

func (mr *MockTransactionClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight

type MockValidatorClient

type MockValidatorClient struct {
	// contains filtered or unexported fields
}

MockValidatorClient is a mock of ValidatorClient interface

func NewMockValidatorClient

func NewMockValidatorClient(ctrl *gomock.Controller) *MockValidatorClient

NewMockValidatorClient creates a new mock instance

func (*MockValidatorClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockValidatorClient) GetByHeight

GetByHeight mocks base method

type MockValidatorClientMockRecorder

type MockValidatorClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockValidatorClientMockRecorder is the mock recorder for MockValidatorClient

func (*MockValidatorClientMockRecorder) GetByHeight

func (mr *MockValidatorClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight

Jump to

Keyboard shortcuts

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