internal

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

README

Client Internal Package

This package should be used for test helpers and non-production code only! Mocks generated with gomock and omckgen will go in this package.

Documentation

Overview

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconNodeValidatorClient

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

MockBeaconNodeValidatorClient is a mock of BeaconNodeValidatorClient interface

func NewMockBeaconNodeValidatorClient

func NewMockBeaconNodeValidatorClient(ctrl *gomock.Controller) *MockBeaconNodeValidatorClient

NewMockBeaconNodeValidatorClient creates a new mock instance

func (*MockBeaconNodeValidatorClient) DomainData

DomainData mocks base method

func (*MockBeaconNodeValidatorClient) EXPECT

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

func (*MockBeaconNodeValidatorClient) GetAttestationData

GetAttestationData mocks base method

func (*MockBeaconNodeValidatorClient) GetBlock

GetBlock mocks base method

func (*MockBeaconNodeValidatorClient) GetDuties

GetDuties mocks base method

func (*MockBeaconNodeValidatorClient) ProposeAttestation

ProposeAttestation mocks base method

func (*MockBeaconNodeValidatorClient) ProposeBlock

ProposeBlock mocks base method

func (*MockBeaconNodeValidatorClient) ProposeExit

ProposeExit mocks base method

func (*MockBeaconNodeValidatorClient) SubmitAggregateAndProof

SubmitAggregateAndProof mocks base method

func (*MockBeaconNodeValidatorClient) ValidatorIndex

ValidatorIndex mocks base method

func (*MockBeaconNodeValidatorClient) ValidatorStatus

ValidatorStatus mocks base method

func (*MockBeaconNodeValidatorClient) WaitForActivation

WaitForActivation mocks base method

func (*MockBeaconNodeValidatorClient) WaitForChainStart

WaitForChainStart mocks base method

type MockBeaconNodeValidatorClientMockRecorder

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

MockBeaconNodeValidatorClientMockRecorder is the mock recorder for MockBeaconNodeValidatorClient

func (*MockBeaconNodeValidatorClientMockRecorder) DomainData

func (mr *MockBeaconNodeValidatorClientMockRecorder) DomainData(ctx, in interface{}, opts ...interface{}) *gomock.Call

DomainData indicates an expected call of DomainData

func (*MockBeaconNodeValidatorClientMockRecorder) GetAttestationData

func (mr *MockBeaconNodeValidatorClientMockRecorder) GetAttestationData(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAttestationData indicates an expected call of GetAttestationData

func (*MockBeaconNodeValidatorClientMockRecorder) GetBlock

func (mr *MockBeaconNodeValidatorClientMockRecorder) GetBlock(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockBeaconNodeValidatorClientMockRecorder) GetDuties

func (mr *MockBeaconNodeValidatorClientMockRecorder) GetDuties(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetDuties indicates an expected call of GetDuties

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeAttestation

func (mr *MockBeaconNodeValidatorClientMockRecorder) ProposeAttestation(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProposeAttestation indicates an expected call of ProposeAttestation

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeBlock

func (mr *MockBeaconNodeValidatorClientMockRecorder) ProposeBlock(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProposeBlock indicates an expected call of ProposeBlock

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeExit

func (mr *MockBeaconNodeValidatorClientMockRecorder) ProposeExit(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProposeExit indicates an expected call of ProposeExit

func (*MockBeaconNodeValidatorClientMockRecorder) SubmitAggregateAndProof

func (mr *MockBeaconNodeValidatorClientMockRecorder) SubmitAggregateAndProof(ctx, in interface{}, opts ...interface{}) *gomock.Call

SubmitAggregateAndProof indicates an expected call of SubmitAggregateAndProof

func (*MockBeaconNodeValidatorClientMockRecorder) ValidatorIndex

func (mr *MockBeaconNodeValidatorClientMockRecorder) ValidatorIndex(ctx, in interface{}, opts ...interface{}) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex

func (*MockBeaconNodeValidatorClientMockRecorder) ValidatorStatus

func (mr *MockBeaconNodeValidatorClientMockRecorder) ValidatorStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus

func (*MockBeaconNodeValidatorClientMockRecorder) WaitForActivation

func (mr *MockBeaconNodeValidatorClientMockRecorder) WaitForActivation(ctx, in interface{}, opts ...interface{}) *gomock.Call

WaitForActivation indicates an expected call of WaitForActivation

func (*MockBeaconNodeValidatorClientMockRecorder) WaitForChainStart

func (mr *MockBeaconNodeValidatorClientMockRecorder) WaitForChainStart(ctx, in interface{}, opts ...interface{}) *gomock.Call

WaitForChainStart indicates an expected call of WaitForChainStart

type MockBeaconNodeValidatorServer

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

MockBeaconNodeValidatorServer is a mock of BeaconNodeValidatorServer interface

func NewMockBeaconNodeValidatorServer

func NewMockBeaconNodeValidatorServer(ctrl *gomock.Controller) *MockBeaconNodeValidatorServer

NewMockBeaconNodeValidatorServer creates a new mock instance

func (*MockBeaconNodeValidatorServer) DomainData

DomainData mocks base method

func (*MockBeaconNodeValidatorServer) EXPECT

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

func (*MockBeaconNodeValidatorServer) GetAttestationData

GetAttestationData mocks base method

func (*MockBeaconNodeValidatorServer) GetBlock

GetBlock mocks base method

func (*MockBeaconNodeValidatorServer) GetDuties

GetDuties mocks base method

func (*MockBeaconNodeValidatorServer) ProposeAttestation

ProposeAttestation mocks base method

func (*MockBeaconNodeValidatorServer) ProposeBlock

ProposeBlock mocks base method

func (*MockBeaconNodeValidatorServer) ProposeExit

ProposeExit mocks base method

func (*MockBeaconNodeValidatorServer) SubmitAggregateAndProof

SubmitAggregateAndProof mocks base method

func (*MockBeaconNodeValidatorServer) ValidatorIndex

ValidatorIndex mocks base method

func (*MockBeaconNodeValidatorServer) ValidatorStatus

ValidatorStatus mocks base method

func (*MockBeaconNodeValidatorServer) WaitForActivation

WaitForActivation mocks base method

func (*MockBeaconNodeValidatorServer) WaitForChainStart

WaitForChainStart mocks base method

type MockBeaconNodeValidatorServerMockRecorder

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

MockBeaconNodeValidatorServerMockRecorder is the mock recorder for MockBeaconNodeValidatorServer

func (*MockBeaconNodeValidatorServerMockRecorder) DomainData

func (mr *MockBeaconNodeValidatorServerMockRecorder) DomainData(arg0, arg1 interface{}) *gomock.Call

DomainData indicates an expected call of DomainData

func (*MockBeaconNodeValidatorServerMockRecorder) GetAttestationData

func (mr *MockBeaconNodeValidatorServerMockRecorder) GetAttestationData(arg0, arg1 interface{}) *gomock.Call

GetAttestationData indicates an expected call of GetAttestationData

func (*MockBeaconNodeValidatorServerMockRecorder) GetBlock

func (mr *MockBeaconNodeValidatorServerMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockBeaconNodeValidatorServerMockRecorder) GetDuties

func (mr *MockBeaconNodeValidatorServerMockRecorder) GetDuties(arg0, arg1 interface{}) *gomock.Call

GetDuties indicates an expected call of GetDuties

func (*MockBeaconNodeValidatorServerMockRecorder) ProposeAttestation

func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeAttestation(arg0, arg1 interface{}) *gomock.Call

ProposeAttestation indicates an expected call of ProposeAttestation

func (*MockBeaconNodeValidatorServerMockRecorder) ProposeBlock

func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeBlock(arg0, arg1 interface{}) *gomock.Call

ProposeBlock indicates an expected call of ProposeBlock

func (*MockBeaconNodeValidatorServerMockRecorder) ProposeExit

func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeExit(arg0, arg1 interface{}) *gomock.Call

ProposeExit indicates an expected call of ProposeExit

func (*MockBeaconNodeValidatorServerMockRecorder) SubmitAggregateAndProof

func (mr *MockBeaconNodeValidatorServerMockRecorder) SubmitAggregateAndProof(arg0, arg1 interface{}) *gomock.Call

SubmitAggregateAndProof indicates an expected call of SubmitAggregateAndProof

func (*MockBeaconNodeValidatorServerMockRecorder) ValidatorIndex

func (mr *MockBeaconNodeValidatorServerMockRecorder) ValidatorIndex(arg0, arg1 interface{}) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex

func (*MockBeaconNodeValidatorServerMockRecorder) ValidatorStatus

func (mr *MockBeaconNodeValidatorServerMockRecorder) ValidatorStatus(arg0, arg1 interface{}) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus

func (*MockBeaconNodeValidatorServerMockRecorder) WaitForActivation

func (mr *MockBeaconNodeValidatorServerMockRecorder) WaitForActivation(arg0, arg1 interface{}) *gomock.Call

WaitForActivation indicates an expected call of WaitForActivation

func (*MockBeaconNodeValidatorServerMockRecorder) WaitForChainStart

func (mr *MockBeaconNodeValidatorServerMockRecorder) WaitForChainStart(arg0, arg1 interface{}) *gomock.Call

WaitForChainStart indicates an expected call of WaitForChainStart

type MockBeaconNodeValidator_WaitForActivationClient

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

MockBeaconNodeValidator_WaitForActivationClient is a mock of BeaconNodeValidator_WaitForActivationClient interface

func NewMockBeaconNodeValidator_WaitForActivationClient

func NewMockBeaconNodeValidator_WaitForActivationClient(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForActivationClient

NewMockBeaconNodeValidator_WaitForActivationClient creates a new mock instance

func (*MockBeaconNodeValidator_WaitForActivationClient) CloseSend

CloseSend mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Context

Context mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) EXPECT

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

func (*MockBeaconNodeValidator_WaitForActivationClient) Header

Header mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Recv

Recv mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) RecvMsg

func (m_2 *MockBeaconNodeValidator_WaitForActivationClient) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) SendMsg

func (m_2 *MockBeaconNodeValidator_WaitForActivationClient) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Trailer

Trailer mocks base method

type MockBeaconNodeValidator_WaitForActivationClientMockRecorder

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

MockBeaconNodeValidator_WaitForActivationClientMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForActivationClient

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconNodeValidator_WaitForActivationServer

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

MockBeaconNodeValidator_WaitForActivationServer is a mock of BeaconNodeValidator_WaitForActivationServer interface

func NewMockBeaconNodeValidator_WaitForActivationServer

func NewMockBeaconNodeValidator_WaitForActivationServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForActivationServer

NewMockBeaconNodeValidator_WaitForActivationServer creates a new mock instance

func (*MockBeaconNodeValidator_WaitForActivationServer) Context

Context mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) EXPECT

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

func (*MockBeaconNodeValidator_WaitForActivationServer) RecvMsg

func (m_2 *MockBeaconNodeValidator_WaitForActivationServer) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) Send

Send mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SendHeader

SendHeader mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SendMsg

func (m_2 *MockBeaconNodeValidator_WaitForActivationServer) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SetHeader

SetHeader mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SetTrailer

SetTrailer mocks base method

type MockBeaconNodeValidator_WaitForActivationServerMockRecorder

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

MockBeaconNodeValidator_WaitForActivationServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForActivationServer

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Send

Send indicates an expected call of Send

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer

type MockBeaconNodeValidator_WaitForChainStartClient

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

MockBeaconNodeValidator_WaitForChainStartClient is a mock of BeaconNodeValidator_WaitForChainStartClient interface

func NewMockBeaconNodeValidator_WaitForChainStartClient

func NewMockBeaconNodeValidator_WaitForChainStartClient(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForChainStartClient

NewMockBeaconNodeValidator_WaitForChainStartClient creates a new mock instance

func (*MockBeaconNodeValidator_WaitForChainStartClient) CloseSend

CloseSend mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Context

Context mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) EXPECT

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

func (*MockBeaconNodeValidator_WaitForChainStartClient) Header

Header mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Recv

Recv mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) RecvMsg

func (m_2 *MockBeaconNodeValidator_WaitForChainStartClient) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) SendMsg

func (m_2 *MockBeaconNodeValidator_WaitForChainStartClient) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Trailer

Trailer mocks base method

type MockBeaconNodeValidator_WaitForChainStartClientMockRecorder

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

MockBeaconNodeValidator_WaitForChainStartClientMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForChainStartClient

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconNodeValidator_WaitForChainStartServer

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

MockBeaconNodeValidator_WaitForChainStartServer is a mock of BeaconNodeValidator_WaitForChainStartServer interface

func NewMockBeaconNodeValidator_WaitForChainStartServer

func NewMockBeaconNodeValidator_WaitForChainStartServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForChainStartServer

NewMockBeaconNodeValidator_WaitForChainStartServer creates a new mock instance

func (*MockBeaconNodeValidator_WaitForChainStartServer) Context

Context mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) EXPECT

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

func (*MockBeaconNodeValidator_WaitForChainStartServer) RecvMsg

func (m_2 *MockBeaconNodeValidator_WaitForChainStartServer) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) Send

Send mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SendHeader

SendHeader mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SendMsg

func (m_2 *MockBeaconNodeValidator_WaitForChainStartServer) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SetHeader

SetHeader mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SetTrailer

SetTrailer mocks base method

type MockBeaconNodeValidator_WaitForChainStartServerMockRecorder

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

MockBeaconNodeValidator_WaitForChainStartServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForChainStartServer

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Send

Send indicates an expected call of Send

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer

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(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.Genesis, error)

GetGenesis mocks base method

func (*MockNodeClient) GetSyncStatus

func (m *MockNodeClient) GetSyncStatus(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.SyncStatus, error)

GetSyncStatus mocks base method

func (*MockNodeClient) GetVersion

func (m *MockNodeClient) GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.Version, error)

GetVersion mocks base method

func (*MockNodeClient) ListImplementedServices

func (m *MockNodeClient) ListImplementedServices(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.ImplementedServices, error)

ListImplementedServices mocks base method

func (*MockNodeClient) ListPeers

func (m *MockNodeClient) ListPeers(ctx context.Context, in *types.Empty, opts ...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(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeClientMockRecorder) GetSyncStatus

func (mr *MockNodeClientMockRecorder) GetSyncStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeClientMockRecorder) GetVersion

func (mr *MockNodeClientMockRecorder) GetVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetVersion indicates an expected call of GetVersion

func (*MockNodeClientMockRecorder) ListImplementedServices

func (mr *MockNodeClientMockRecorder) ListImplementedServices(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListImplementedServices indicates an expected call of ListImplementedServices

func (*MockNodeClientMockRecorder) ListPeers

func (mr *MockNodeClientMockRecorder) ListPeers(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListPeers indicates an expected call of ListPeers

type MockNodeServer

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

MockNodeServer is a mock of NodeServer interface

func NewMockNodeServer

func NewMockNodeServer(ctrl *gomock.Controller) *MockNodeServer

NewMockNodeServer creates a new mock instance

func (*MockNodeServer) EXPECT

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

func (*MockNodeServer) GetGenesis

func (m *MockNodeServer) GetGenesis(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.Genesis, error)

GetGenesis mocks base method

func (*MockNodeServer) GetSyncStatus

func (m *MockNodeServer) GetSyncStatus(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.SyncStatus, error)

GetSyncStatus mocks base method

func (*MockNodeServer) GetVersion

func (m *MockNodeServer) GetVersion(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.Version, error)

GetVersion mocks base method

func (*MockNodeServer) ListImplementedServices

func (m *MockNodeServer) ListImplementedServices(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.ImplementedServices, error)

ListImplementedServices mocks base method

func (*MockNodeServer) ListPeers

func (m *MockNodeServer) ListPeers(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.Peers, error)

ListPeers mocks base method

type MockNodeServerMockRecorder

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

MockNodeServerMockRecorder is the mock recorder for MockNodeServer

func (*MockNodeServerMockRecorder) GetGenesis

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

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeServerMockRecorder) GetSyncStatus

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

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeServerMockRecorder) GetVersion

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

GetVersion indicates an expected call of GetVersion

func (*MockNodeServerMockRecorder) ListImplementedServices

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

ListImplementedServices indicates an expected call of ListImplementedServices

func (*MockNodeServerMockRecorder) ListPeers

func (mr *MockNodeServerMockRecorder) ListPeers(arg0, arg1 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