mock_client

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 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) GetConstants added in v0.5.2

func (m *MockChainClient) GetConstants() (*chainpb.GetConstantsResponse, error)

GetConstants mocks base method

func (*MockChainClient) GetHead

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

GetHead mocks base method

func (*MockChainClient) GetMetaByHeight added in v0.5.2

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

GetMetaByHeight mocks base method

func (*MockChainClient) GetStatus added in v0.5.2

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

GetStatus mocks base method

type MockChainClientMockRecorder

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

MockChainClientMockRecorder is the mock recorder for MockChainClient

func (*MockChainClientMockRecorder) GetConstants added in v0.5.2

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

GetConstants indicates an expected call of GetConstants

func (*MockChainClientMockRecorder) GetHead

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

GetHead indicates an expected call of GetHead

func (*MockChainClientMockRecorder) GetMetaByHeight added in v0.5.2

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

GetMetaByHeight indicates an expected call of GetMetaByHeight

func (*MockChainClientMockRecorder) GetStatus added in v0.5.2

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

GetStatus indicates an expected call of GetStatus

type MockEventClient added in v0.5.2

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

MockEventClient is a mock of EventClient interface

func NewMockEventClient added in v0.5.2

func NewMockEventClient(ctrl *gomock.Controller) *MockEventClient

NewMockEventClient creates a new mock instance

func (*MockEventClient) EXPECT added in v0.5.2

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

func (*MockEventClient) GetEscrowEventsByHeight added in v0.6.0

func (m *MockEventClient) GetEscrowEventsByHeight(arg0 int64) (*eventpb.GetEscrowEventsByHeightResponse, error)

GetEscrowEventsByHeight mocks base method

type MockEventClientMockRecorder added in v0.5.2

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

MockEventClientMockRecorder is the mock recorder for MockEventClient

func (*MockEventClientMockRecorder) GetEscrowEventsByHeight added in v0.6.0

func (mr *MockEventClientMockRecorder) GetEscrowEventsByHeight(arg0 interface{}) *gomock.Call

GetEscrowEventsByHeight indicates an expected call of GetEscrowEventsByHeight

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) Broadcast added in v0.7.1

Broadcast mocks base method

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) Broadcast added in v0.7.1

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

Broadcast indicates an expected call of Broadcast

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