mock

package
v0.0.0-...-ab12051 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconChainClient

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

MockBeaconChainClient is a mock of BeaconChainClient interface

func NewMockBeaconChainClient

func NewMockBeaconChainClient(ctrl *gomock.Controller) *MockBeaconChainClient

NewMockBeaconChainClient creates a new mock instance

func (*MockBeaconChainClient) AttestationPool

AttestationPool mocks base method

func (*MockBeaconChainClient) EXPECT

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

func (*MockBeaconChainClient) GetBeaconConfig

func (m *MockBeaconChainClient) GetBeaconConfig(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.BeaconConfig, error)

GetBeaconConfig mocks base method

func (*MockBeaconChainClient) GetChainHead

func (m *MockBeaconChainClient) GetChainHead(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.ChainHead, error)

GetChainHead mocks base method

func (*MockBeaconChainClient) GetValidator

GetValidator mocks base method

func (*MockBeaconChainClient) GetValidatorActiveSetChanges

GetValidatorActiveSetChanges mocks base method

func (*MockBeaconChainClient) GetValidatorParticipation

GetValidatorParticipation mocks base method

func (*MockBeaconChainClient) GetValidatorPerformance

GetValidatorPerformance mocks base method

func (*MockBeaconChainClient) GetValidatorQueue

func (m *MockBeaconChainClient) GetValidatorQueue(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorQueue, error)

GetValidatorQueue mocks base method

func (*MockBeaconChainClient) ListAttestations

ListAttestations mocks base method

func (*MockBeaconChainClient) ListBeaconCommittees

ListBeaconCommittees mocks base method

func (*MockBeaconChainClient) ListBlocks

ListBlocks mocks base method

func (*MockBeaconChainClient) ListIndexedAttestations

ListIndexedAttestations mocks base method

func (*MockBeaconChainClient) ListValidatorAssignments

ListValidatorAssignments mocks base method

func (*MockBeaconChainClient) ListValidatorBalances

ListValidatorBalances mocks base method

func (*MockBeaconChainClient) ListValidators

ListValidators mocks base method

func (*MockBeaconChainClient) StreamAttestations

StreamAttestations mocks base method

func (*MockBeaconChainClient) StreamBlocks

StreamBlocks mocks base method

func (*MockBeaconChainClient) StreamChainHead

StreamChainHead mocks base method

func (*MockBeaconChainClient) StreamIndexedAttestations

StreamIndexedAttestations mocks base method

func (*MockBeaconChainClient) StreamValidatorsInfo

StreamValidatorsInfo mocks base method

func (*MockBeaconChainClient) SubmitAttesterSlashing

SubmitAttesterSlashing mocks base method

func (*MockBeaconChainClient) SubmitProposerSlashing

SubmitProposerSlashing mocks base method

type MockBeaconChainClientMockRecorder

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

MockBeaconChainClientMockRecorder is the mock recorder for MockBeaconChainClient

func (*MockBeaconChainClientMockRecorder) AttestationPool

func (mr *MockBeaconChainClientMockRecorder) AttestationPool(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AttestationPool indicates an expected call of AttestationPool

func (*MockBeaconChainClientMockRecorder) GetBeaconConfig

func (mr *MockBeaconChainClientMockRecorder) GetBeaconConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetBeaconConfig indicates an expected call of GetBeaconConfig

func (*MockBeaconChainClientMockRecorder) GetChainHead

func (mr *MockBeaconChainClientMockRecorder) GetChainHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetChainHead indicates an expected call of GetChainHead

func (*MockBeaconChainClientMockRecorder) GetValidator

func (mr *MockBeaconChainClientMockRecorder) GetValidator(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator

func (*MockBeaconChainClientMockRecorder) GetValidatorActiveSetChanges

func (mr *MockBeaconChainClientMockRecorder) GetValidatorActiveSetChanges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetValidatorActiveSetChanges indicates an expected call of GetValidatorActiveSetChanges

func (*MockBeaconChainClientMockRecorder) GetValidatorParticipation

func (mr *MockBeaconChainClientMockRecorder) GetValidatorParticipation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetValidatorParticipation indicates an expected call of GetValidatorParticipation

func (*MockBeaconChainClientMockRecorder) GetValidatorPerformance

func (mr *MockBeaconChainClientMockRecorder) GetValidatorPerformance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetValidatorPerformance indicates an expected call of GetValidatorPerformance

func (*MockBeaconChainClientMockRecorder) GetValidatorQueue

func (mr *MockBeaconChainClientMockRecorder) GetValidatorQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetValidatorQueue indicates an expected call of GetValidatorQueue

func (*MockBeaconChainClientMockRecorder) ListAttestations

func (mr *MockBeaconChainClientMockRecorder) ListAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListAttestations indicates an expected call of ListAttestations

func (*MockBeaconChainClientMockRecorder) ListBeaconCommittees

func (mr *MockBeaconChainClientMockRecorder) ListBeaconCommittees(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListBeaconCommittees indicates an expected call of ListBeaconCommittees

func (*MockBeaconChainClientMockRecorder) ListBlocks

func (mr *MockBeaconChainClientMockRecorder) ListBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListBlocks indicates an expected call of ListBlocks

func (*MockBeaconChainClientMockRecorder) ListIndexedAttestations

func (mr *MockBeaconChainClientMockRecorder) ListIndexedAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListIndexedAttestations indicates an expected call of ListIndexedAttestations

func (*MockBeaconChainClientMockRecorder) ListValidatorAssignments

func (mr *MockBeaconChainClientMockRecorder) ListValidatorAssignments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListValidatorAssignments indicates an expected call of ListValidatorAssignments

func (*MockBeaconChainClientMockRecorder) ListValidatorBalances

func (mr *MockBeaconChainClientMockRecorder) ListValidatorBalances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListValidatorBalances indicates an expected call of ListValidatorBalances

func (*MockBeaconChainClientMockRecorder) ListValidators

func (mr *MockBeaconChainClientMockRecorder) ListValidators(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListValidators indicates an expected call of ListValidators

func (*MockBeaconChainClientMockRecorder) StreamAttestations

func (mr *MockBeaconChainClientMockRecorder) StreamAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamAttestations indicates an expected call of StreamAttestations

func (*MockBeaconChainClientMockRecorder) StreamBlocks

func (mr *MockBeaconChainClientMockRecorder) StreamBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamBlocks indicates an expected call of StreamBlocks

func (*MockBeaconChainClientMockRecorder) StreamChainHead

func (mr *MockBeaconChainClientMockRecorder) StreamChainHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamChainHead indicates an expected call of StreamChainHead

func (*MockBeaconChainClientMockRecorder) StreamIndexedAttestations

func (mr *MockBeaconChainClientMockRecorder) StreamIndexedAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamIndexedAttestations indicates an expected call of StreamIndexedAttestations

func (*MockBeaconChainClientMockRecorder) StreamValidatorsInfo

func (mr *MockBeaconChainClientMockRecorder) StreamValidatorsInfo(arg0 interface{}, arg1 ...interface{}) *gomock.Call

StreamValidatorsInfo indicates an expected call of StreamValidatorsInfo

func (*MockBeaconChainClientMockRecorder) SubmitAttesterSlashing

func (mr *MockBeaconChainClientMockRecorder) SubmitAttesterSlashing(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubmitAttesterSlashing indicates an expected call of SubmitAttesterSlashing

func (*MockBeaconChainClientMockRecorder) SubmitProposerSlashing

func (mr *MockBeaconChainClientMockRecorder) SubmitProposerSlashing(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubmitProposerSlashing indicates an expected call of SubmitProposerSlashing

type MockBeaconChain_StreamAttestationsClient

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

MockBeaconChain_StreamAttestationsClient is a mock of BeaconChain_StreamAttestationsClient interface

func NewMockBeaconChain_StreamAttestationsClient

func NewMockBeaconChain_StreamAttestationsClient(ctrl *gomock.Controller) *MockBeaconChain_StreamAttestationsClient

NewMockBeaconChain_StreamAttestationsClient creates a new mock instance

func (*MockBeaconChain_StreamAttestationsClient) CloseSend

CloseSend mocks base method

func (*MockBeaconChain_StreamAttestationsClient) Context

Context mocks base method

func (*MockBeaconChain_StreamAttestationsClient) EXPECT

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

func (*MockBeaconChain_StreamAttestationsClient) Header

Header mocks base method

func (*MockBeaconChain_StreamAttestationsClient) Recv

Recv mocks base method

func (*MockBeaconChain_StreamAttestationsClient) RecvMsg

func (m *MockBeaconChain_StreamAttestationsClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamAttestationsClient) SendMsg

func (m *MockBeaconChain_StreamAttestationsClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamAttestationsClient) Trailer

Trailer mocks base method

type MockBeaconChain_StreamAttestationsClientMockRecorder

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

MockBeaconChain_StreamAttestationsClientMockRecorder is the mock recorder for MockBeaconChain_StreamAttestationsClient

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) RecvMsg

func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) SendMsg

func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamAttestationsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconChain_StreamBlocksClient

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

MockBeaconChain_StreamBlocksClient is a mock of BeaconChain_StreamBlocksClient interface

func NewMockBeaconChain_StreamBlocksClient

func NewMockBeaconChain_StreamBlocksClient(ctrl *gomock.Controller) *MockBeaconChain_StreamBlocksClient

NewMockBeaconChain_StreamBlocksClient creates a new mock instance

func (*MockBeaconChain_StreamBlocksClient) CloseSend

CloseSend mocks base method

func (*MockBeaconChain_StreamBlocksClient) Context

Context mocks base method

func (*MockBeaconChain_StreamBlocksClient) EXPECT

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

func (*MockBeaconChain_StreamBlocksClient) Header

Header mocks base method

func (*MockBeaconChain_StreamBlocksClient) Recv

Recv mocks base method

func (*MockBeaconChain_StreamBlocksClient) RecvMsg

func (m *MockBeaconChain_StreamBlocksClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamBlocksClient) SendMsg

func (m *MockBeaconChain_StreamBlocksClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamBlocksClient) Trailer

Trailer mocks base method

type MockBeaconChain_StreamBlocksClientMockRecorder

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

MockBeaconChain_StreamBlocksClientMockRecorder is the mock recorder for MockBeaconChain_StreamBlocksClient

func (*MockBeaconChain_StreamBlocksClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconChain_StreamBlocksClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconChain_StreamBlocksClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconChain_StreamBlocksClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconChain_StreamBlocksClientMockRecorder) RecvMsg

func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamBlocksClientMockRecorder) SendMsg

func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamBlocksClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconChain_StreamChainHeadClient

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

MockBeaconChain_StreamChainHeadClient is a mock of BeaconChain_StreamChainHeadClient interface

func NewMockBeaconChain_StreamChainHeadClient

func NewMockBeaconChain_StreamChainHeadClient(ctrl *gomock.Controller) *MockBeaconChain_StreamChainHeadClient

NewMockBeaconChain_StreamChainHeadClient creates a new mock instance

func (*MockBeaconChain_StreamChainHeadClient) CloseSend

CloseSend mocks base method

func (*MockBeaconChain_StreamChainHeadClient) Context

Context mocks base method

func (*MockBeaconChain_StreamChainHeadClient) EXPECT

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

func (*MockBeaconChain_StreamChainHeadClient) Header

Header mocks base method

func (*MockBeaconChain_StreamChainHeadClient) Recv

Recv mocks base method

func (*MockBeaconChain_StreamChainHeadClient) RecvMsg

func (m *MockBeaconChain_StreamChainHeadClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamChainHeadClient) SendMsg

func (m *MockBeaconChain_StreamChainHeadClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamChainHeadClient) Trailer

Trailer mocks base method

type MockBeaconChain_StreamChainHeadClientMockRecorder

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

MockBeaconChain_StreamChainHeadClientMockRecorder is the mock recorder for MockBeaconChain_StreamChainHeadClient

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) RecvMsg

func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) SendMsg

func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamChainHeadClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconChain_StreamIndexedAttestationsClient

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

MockBeaconChain_StreamIndexedAttestationsClient is a mock of BeaconChain_StreamIndexedAttestationsClient interface

func NewMockBeaconChain_StreamIndexedAttestationsClient

func NewMockBeaconChain_StreamIndexedAttestationsClient(ctrl *gomock.Controller) *MockBeaconChain_StreamIndexedAttestationsClient

NewMockBeaconChain_StreamIndexedAttestationsClient creates a new mock instance

func (*MockBeaconChain_StreamIndexedAttestationsClient) CloseSend

CloseSend mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) Context

Context mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) EXPECT

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

func (*MockBeaconChain_StreamIndexedAttestationsClient) Header

Header mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) Recv

Recv mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) RecvMsg

func (m *MockBeaconChain_StreamIndexedAttestationsClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) SendMsg

func (m *MockBeaconChain_StreamIndexedAttestationsClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamIndexedAttestationsClient) Trailer

Trailer mocks base method

type MockBeaconChain_StreamIndexedAttestationsClientMockRecorder

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

MockBeaconChain_StreamIndexedAttestationsClientMockRecorder is the mock recorder for MockBeaconChain_StreamIndexedAttestationsClient

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconChain_StreamValidatorsInfoClient

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

MockBeaconChain_StreamValidatorsInfoClient is a mock of BeaconChain_StreamValidatorsInfoClient interface

func NewMockBeaconChain_StreamValidatorsInfoClient

func NewMockBeaconChain_StreamValidatorsInfoClient(ctrl *gomock.Controller) *MockBeaconChain_StreamValidatorsInfoClient

NewMockBeaconChain_StreamValidatorsInfoClient creates a new mock instance

func (*MockBeaconChain_StreamValidatorsInfoClient) CloseSend

CloseSend mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) Context

Context mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) EXPECT

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

func (*MockBeaconChain_StreamValidatorsInfoClient) Header

Header mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) Recv

Recv mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) RecvMsg

func (m *MockBeaconChain_StreamValidatorsInfoClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) Send

Send mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) SendMsg

func (m *MockBeaconChain_StreamValidatorsInfoClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamValidatorsInfoClient) Trailer

Trailer mocks base method

type MockBeaconChain_StreamValidatorsInfoClientMockRecorder

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

MockBeaconChain_StreamValidatorsInfoClientMockRecorder is the mock recorder for MockBeaconChain_StreamValidatorsInfoClient

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Send

Send indicates an expected call of Send

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockNodeClient

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

MockNodeClient is a mock of NodeClient interface

func NewMockNodeClient

func NewMockNodeClient(ctrl *gomock.Controller) *MockNodeClient

NewMockNodeClient creates a new mock instance

func (*MockNodeClient) EXPECT

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

func (*MockNodeClient) GetGenesis

func (m *MockNodeClient) GetGenesis(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.Genesis, error)

GetGenesis mocks base method

func (*MockNodeClient) GetSyncStatus

func (m *MockNodeClient) GetSyncStatus(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.SyncStatus, error)

GetSyncStatus mocks base method

func (*MockNodeClient) GetVersion

func (m *MockNodeClient) GetVersion(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.Version, error)

GetVersion mocks base method

func (*MockNodeClient) ListImplementedServices

func (m *MockNodeClient) ListImplementedServices(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.ImplementedServices, error)

ListImplementedServices mocks base method

func (*MockNodeClient) ListPeers

func (m *MockNodeClient) ListPeers(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*v1alpha1.Peers, error)

ListPeers mocks base method

type MockNodeClientMockRecorder

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

MockNodeClientMockRecorder is the mock recorder for MockNodeClient

func (*MockNodeClientMockRecorder) GetGenesis

func (mr *MockNodeClientMockRecorder) GetGenesis(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeClientMockRecorder) GetSyncStatus

func (mr *MockNodeClientMockRecorder) GetSyncStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeClientMockRecorder) GetVersion

func (mr *MockNodeClientMockRecorder) GetVersion(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetVersion indicates an expected call of GetVersion

func (*MockNodeClientMockRecorder) ListImplementedServices

func (mr *MockNodeClientMockRecorder) ListImplementedServices(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListImplementedServices indicates an expected call of ListImplementedServices

func (*MockNodeClientMockRecorder) ListPeers

func (mr *MockNodeClientMockRecorder) ListPeers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListPeers indicates an expected call of ListPeers

Jump to

Keyboard shortcuts

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