internal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: GPL-3.0 Imports: 8 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.

Package internal is a generated GoMock package.

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 MockAggregatorServiceClient added in v0.2.7

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

MockAggregatorServiceClient is a mock of AggregatorServiceClient interface

func NewMockAggregatorServiceClient added in v0.2.7

func NewMockAggregatorServiceClient(ctrl *gomock.Controller) *MockAggregatorServiceClient

NewMockAggregatorServiceClient creates a new mock instance

func (*MockAggregatorServiceClient) EXPECT added in v0.2.7

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

func (*MockAggregatorServiceClient) SubmitAggregateAndProof added in v0.2.7

func (m *MockAggregatorServiceClient) SubmitAggregateAndProof(arg0 context.Context, arg1 *v1.AggregationRequest, arg2 ...grpc.CallOption) (*v1.AggregationResponse, error)

SubmitAggregateAndProof mocks base method

type MockAggregatorServiceClientMockRecorder added in v0.2.7

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

MockAggregatorServiceClientMockRecorder is the mock recorder for MockAggregatorServiceClient

func (*MockAggregatorServiceClientMockRecorder) SubmitAggregateAndProof added in v0.2.7

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

SubmitAggregateAndProof indicates an expected call of SubmitAggregateAndProof

type MockBeaconChainClient added in v0.3.0

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

MockBeaconChainClient is a mock of BeaconChainClient interface

func NewMockBeaconChainClient added in v0.3.0

func NewMockBeaconChainClient(ctrl *gomock.Controller) *MockBeaconChainClient

NewMockBeaconChainClient creates a new mock instance

func (*MockBeaconChainClient) AttestationPool added in v0.3.0

AttestationPool mocks base method

func (*MockBeaconChainClient) EXPECT added in v0.3.0

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

func (*MockBeaconChainClient) GetChainHead added in v0.3.0

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

GetChainHead mocks base method

func (*MockBeaconChainClient) GetValidator added in v0.3.0

GetValidator mocks base method

func (*MockBeaconChainClient) GetValidatorActiveSetChanges added in v0.3.0

GetValidatorActiveSetChanges mocks base method

func (*MockBeaconChainClient) GetValidatorParticipation added in v0.3.0

GetValidatorParticipation mocks base method

func (*MockBeaconChainClient) GetValidatorPerformance added in v0.3.0

GetValidatorPerformance mocks base method

func (*MockBeaconChainClient) GetValidatorQueue added in v0.3.0

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

GetValidatorQueue mocks base method

func (*MockBeaconChainClient) ListAttestations added in v0.3.0

ListAttestations mocks base method

func (*MockBeaconChainClient) ListBeaconCommittees added in v0.3.0

ListBeaconCommittees mocks base method

func (*MockBeaconChainClient) ListBlocks added in v0.3.0

ListBlocks mocks base method

func (*MockBeaconChainClient) ListValidatorAssignments added in v0.3.0

ListValidatorAssignments mocks base method

func (*MockBeaconChainClient) ListValidatorBalances added in v0.3.0

ListValidatorBalances mocks base method

func (*MockBeaconChainClient) ListValidators added in v0.3.0

ListValidators mocks base method

func (*MockBeaconChainClient) StreamAttestations added in v0.3.0

StreamAttestations mocks base method

func (*MockBeaconChainClient) StreamChainHead added in v0.3.0

StreamChainHead mocks base method

type MockBeaconChainClientMockRecorder added in v0.3.0

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

MockBeaconChainClientMockRecorder is the mock recorder for MockBeaconChainClient

func (*MockBeaconChainClientMockRecorder) AttestationPool added in v0.3.0

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

AttestationPool indicates an expected call of AttestationPool

func (*MockBeaconChainClientMockRecorder) GetChainHead added in v0.3.0

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

GetChainHead indicates an expected call of GetChainHead

func (*MockBeaconChainClientMockRecorder) GetValidator added in v0.3.0

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

GetValidator indicates an expected call of GetValidator

func (*MockBeaconChainClientMockRecorder) GetValidatorActiveSetChanges added in v0.3.0

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

GetValidatorActiveSetChanges indicates an expected call of GetValidatorActiveSetChanges

func (*MockBeaconChainClientMockRecorder) GetValidatorParticipation added in v0.3.0

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

GetValidatorParticipation indicates an expected call of GetValidatorParticipation

func (*MockBeaconChainClientMockRecorder) GetValidatorPerformance added in v0.3.0

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

GetValidatorPerformance indicates an expected call of GetValidatorPerformance

func (*MockBeaconChainClientMockRecorder) GetValidatorQueue added in v0.3.0

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

GetValidatorQueue indicates an expected call of GetValidatorQueue

func (*MockBeaconChainClientMockRecorder) ListAttestations added in v0.3.0

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

ListAttestations indicates an expected call of ListAttestations

func (*MockBeaconChainClientMockRecorder) ListBeaconCommittees added in v0.3.0

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

ListBeaconCommittees indicates an expected call of ListBeaconCommittees

func (*MockBeaconChainClientMockRecorder) ListBlocks added in v0.3.0

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

ListBlocks indicates an expected call of ListBlocks

func (*MockBeaconChainClientMockRecorder) ListValidatorAssignments added in v0.3.0

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

ListValidatorAssignments indicates an expected call of ListValidatorAssignments

func (*MockBeaconChainClientMockRecorder) ListValidatorBalances added in v0.3.0

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

ListValidatorBalances indicates an expected call of ListValidatorBalances

func (*MockBeaconChainClientMockRecorder) ListValidators added in v0.3.0

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

ListValidators indicates an expected call of ListValidators

func (*MockBeaconChainClientMockRecorder) StreamAttestations added in v0.3.0

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

StreamAttestations indicates an expected call of StreamAttestations

func (*MockBeaconChainClientMockRecorder) StreamChainHead added in v0.3.0

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

StreamChainHead indicates an expected call of StreamChainHead

type MockBeaconNodeValidatorClient added in v0.3.0

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

MockBeaconNodeValidatorClient is a mock of BeaconNodeValidatorClient interface

func NewMockBeaconNodeValidatorClient added in v0.3.0

func NewMockBeaconNodeValidatorClient(ctrl *gomock.Controller) *MockBeaconNodeValidatorClient

NewMockBeaconNodeValidatorClient creates a new mock instance

func (*MockBeaconNodeValidatorClient) DomainData added in v0.3.0

DomainData mocks base method

func (*MockBeaconNodeValidatorClient) EXPECT added in v0.3.0

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

func (*MockBeaconNodeValidatorClient) GetAttestationData added in v0.3.0

GetAttestationData mocks base method

func (*MockBeaconNodeValidatorClient) GetBlock added in v0.3.0

GetBlock mocks base method

func (*MockBeaconNodeValidatorClient) GetDuties added in v0.3.0

GetDuties mocks base method

func (*MockBeaconNodeValidatorClient) ProposeAttestation added in v0.3.0

ProposeAttestation mocks base method

func (*MockBeaconNodeValidatorClient) ProposeBlock added in v0.3.0

ProposeBlock mocks base method

func (*MockBeaconNodeValidatorClient) ProposeExit added in v0.3.0

ProposeExit mocks base method

func (*MockBeaconNodeValidatorClient) ValidatorIndex added in v0.3.0

ValidatorIndex mocks base method

func (*MockBeaconNodeValidatorClient) ValidatorStatus added in v0.3.0

ValidatorStatus mocks base method

func (*MockBeaconNodeValidatorClient) WaitForActivation added in v0.3.0

WaitForActivation mocks base method

func (*MockBeaconNodeValidatorClient) WaitForChainStart added in v0.3.0

WaitForChainStart mocks base method

type MockBeaconNodeValidatorClientMockRecorder added in v0.3.0

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

MockBeaconNodeValidatorClientMockRecorder is the mock recorder for MockBeaconNodeValidatorClient

func (*MockBeaconNodeValidatorClientMockRecorder) DomainData added in v0.3.0

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

DomainData indicates an expected call of DomainData

func (*MockBeaconNodeValidatorClientMockRecorder) GetAttestationData added in v0.3.0

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

GetAttestationData indicates an expected call of GetAttestationData

func (*MockBeaconNodeValidatorClientMockRecorder) GetBlock added in v0.3.0

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

GetBlock indicates an expected call of GetBlock

func (*MockBeaconNodeValidatorClientMockRecorder) GetDuties added in v0.3.0

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

GetDuties indicates an expected call of GetDuties

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeAttestation added in v0.3.0

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

ProposeAttestation indicates an expected call of ProposeAttestation

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeBlock added in v0.3.0

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

ProposeBlock indicates an expected call of ProposeBlock

func (*MockBeaconNodeValidatorClientMockRecorder) ProposeExit added in v0.3.0

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

ProposeExit indicates an expected call of ProposeExit

func (*MockBeaconNodeValidatorClientMockRecorder) ValidatorIndex added in v0.3.0

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

ValidatorIndex indicates an expected call of ValidatorIndex

func (*MockBeaconNodeValidatorClientMockRecorder) ValidatorStatus added in v0.3.0

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

ValidatorStatus indicates an expected call of ValidatorStatus

func (*MockBeaconNodeValidatorClientMockRecorder) WaitForActivation added in v0.3.0

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

WaitForActivation indicates an expected call of WaitForActivation

func (*MockBeaconNodeValidatorClientMockRecorder) WaitForChainStart added in v0.3.0

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

WaitForChainStart indicates an expected call of WaitForChainStart

type MockBeaconNodeValidator_WaitForActivationClient added in v0.3.0

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

MockBeaconNodeValidator_WaitForActivationClient is a mock of BeaconNodeValidator_WaitForActivationClient interface

func NewMockBeaconNodeValidator_WaitForActivationClient added in v0.3.0

func NewMockBeaconNodeValidator_WaitForActivationClient(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForActivationClient

NewMockBeaconNodeValidator_WaitForActivationClient creates a new mock instance

func (*MockBeaconNodeValidator_WaitForActivationClient) CloseSend added in v0.3.0

CloseSend mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Context added in v0.3.0

Context mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) EXPECT added in v0.3.0

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

func (*MockBeaconNodeValidator_WaitForActivationClient) Header added in v0.3.0

Header mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Recv added in v0.3.0

Recv mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) RecvMsg added in v0.3.0

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

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) SendMsg added in v0.3.0

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

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationClient) Trailer added in v0.3.0

Trailer mocks base method

type MockBeaconNodeValidator_WaitForActivationClientMockRecorder added in v0.3.0

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

MockBeaconNodeValidator_WaitForActivationClientMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForActivationClient

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) CloseSend added in v0.3.0

CloseSend indicates an expected call of CloseSend

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Header added in v0.3.0

Header indicates an expected call of Header

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Recv added in v0.3.0

Recv indicates an expected call of Recv

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) RecvMsg added in v0.3.0

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) SendMsg added in v0.3.0

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForActivationClientMockRecorder) Trailer added in v0.3.0

Trailer indicates an expected call of Trailer

type MockBeaconNodeValidator_WaitForChainStartClient added in v0.3.0

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

MockBeaconNodeValidator_WaitForChainStartClient is a mock of BeaconNodeValidator_WaitForChainStartClient interface

func NewMockBeaconNodeValidator_WaitForChainStartClient added in v0.3.0

func NewMockBeaconNodeValidator_WaitForChainStartClient(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForChainStartClient

NewMockBeaconNodeValidator_WaitForChainStartClient creates a new mock instance

func (*MockBeaconNodeValidator_WaitForChainStartClient) CloseSend added in v0.3.0

CloseSend mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Context added in v0.3.0

Context mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) EXPECT added in v0.3.0

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

func (*MockBeaconNodeValidator_WaitForChainStartClient) Header added in v0.3.0

Header mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Recv added in v0.3.0

Recv mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) RecvMsg added in v0.3.0

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

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) SendMsg added in v0.3.0

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

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartClient) Trailer added in v0.3.0

Trailer mocks base method

type MockBeaconNodeValidator_WaitForChainStartClientMockRecorder added in v0.3.0

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

MockBeaconNodeValidator_WaitForChainStartClientMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForChainStartClient

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) CloseSend added in v0.3.0

CloseSend indicates an expected call of CloseSend

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Header added in v0.3.0

Header indicates an expected call of Header

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Recv added in v0.3.0

Recv indicates an expected call of Recv

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) RecvMsg added in v0.3.0

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) SendMsg added in v0.3.0

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForChainStartClientMockRecorder) Trailer added in v0.3.0

Trailer indicates an expected call of Trailer

type MockNodeClient added in v0.2.3

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

MockNodeClient is a mock of NodeClient interface

func NewMockNodeClient added in v0.2.3

func NewMockNodeClient(ctrl *gomock.Controller) *MockNodeClient

NewMockNodeClient creates a new mock instance

func (*MockNodeClient) EXPECT added in v0.2.3

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

func (*MockNodeClient) GetGenesis added in v0.2.3

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

GetGenesis mocks base method

func (*MockNodeClient) GetSyncStatus added in v0.2.3

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

GetSyncStatus mocks base method

func (*MockNodeClient) GetVersion added in v0.2.3

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

GetVersion mocks base method

func (*MockNodeClient) ListImplementedServices added in v0.2.3

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

ListImplementedServices mocks base method

func (*MockNodeClient) ListPeers added in v0.3.0

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

ListPeers mocks base method

type MockNodeClientMockRecorder added in v0.2.3

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

MockNodeClientMockRecorder is the mock recorder for MockNodeClient

func (*MockNodeClientMockRecorder) GetGenesis added in v0.2.3

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

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeClientMockRecorder) GetSyncStatus added in v0.2.3

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

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeClientMockRecorder) GetVersion added in v0.2.3

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

GetVersion indicates an expected call of GetVersion

func (*MockNodeClientMockRecorder) ListImplementedServices added in v0.2.3

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

ListImplementedServices indicates an expected call of ListImplementedServices

func (*MockNodeClientMockRecorder) ListPeers added in v0.3.0

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

ListPeers indicates an expected call of ListPeers

type MockNodeServer added in v0.3.0

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

MockNodeServer is a mock of NodeServer interface

func NewMockNodeServer added in v0.3.0

func NewMockNodeServer(ctrl *gomock.Controller) *MockNodeServer

NewMockNodeServer creates a new mock instance

func (*MockNodeServer) EXPECT added in v0.3.0

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

func (*MockNodeServer) GetGenesis added in v0.3.0

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

GetGenesis mocks base method

func (*MockNodeServer) GetSyncStatus added in v0.3.0

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

GetSyncStatus mocks base method

func (*MockNodeServer) GetVersion added in v0.3.0

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

GetVersion mocks base method

func (*MockNodeServer) ListImplementedServices added in v0.3.0

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

ListImplementedServices mocks base method

func (*MockNodeServer) ListPeers added in v0.3.0

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

ListPeers mocks base method

type MockNodeServerMockRecorder added in v0.3.0

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

MockNodeServerMockRecorder is the mock recorder for MockNodeServer

func (*MockNodeServerMockRecorder) GetGenesis added in v0.3.0

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

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeServerMockRecorder) GetSyncStatus added in v0.3.0

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

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeServerMockRecorder) GetVersion added in v0.3.0

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

GetVersion indicates an expected call of GetVersion

func (*MockNodeServerMockRecorder) ListImplementedServices added in v0.3.0

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

ListImplementedServices indicates an expected call of ListImplementedServices

func (*MockNodeServerMockRecorder) ListPeers added in v0.3.0

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

ListPeers indicates an expected call of ListPeers

type MockValidatorServiceClient

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

MockValidatorServiceClient is a mock of ValidatorServiceClient interface

func NewMockValidatorServiceClient

func NewMockValidatorServiceClient(ctrl *gomock.Controller) *MockValidatorServiceClient

NewMockValidatorServiceClient creates a new mock instance

func (*MockValidatorServiceClient) CanonicalHead

func (m *MockValidatorServiceClient) CanonicalHead(arg0 context.Context, arg1 *types.Empty, arg2 ...grpc.CallOption) (*v1alpha1.BeaconBlock, error)

CanonicalHead mocks base method

func (*MockValidatorServiceClient) CommitteeAssignment

func (m *MockValidatorServiceClient) CommitteeAssignment(arg0 context.Context, arg1 *v1.AssignmentRequest, arg2 ...grpc.CallOption) (*v1.AssignmentResponse, error)

CommitteeAssignment mocks base method

func (*MockValidatorServiceClient) DomainData

DomainData mocks base method

func (*MockValidatorServiceClient) EXPECT

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

func (*MockValidatorServiceClient) ExitedValidators

ExitedValidators mocks base method

func (*MockValidatorServiceClient) ProposeExit added in v0.3.0

ProposeExit mocks base method

func (*MockValidatorServiceClient) ValidatorIndex

ValidatorIndex mocks base method

func (*MockValidatorServiceClient) ValidatorPerformance

ValidatorPerformance mocks base method

func (*MockValidatorServiceClient) ValidatorStatus

ValidatorStatus mocks base method

func (*MockValidatorServiceClient) WaitForActivation

WaitForActivation mocks base method

func (*MockValidatorServiceClient) WaitForChainStart

WaitForChainStart mocks base method

type MockValidatorServiceClientMockRecorder

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

MockValidatorServiceClientMockRecorder is the mock recorder for MockValidatorServiceClient

func (*MockValidatorServiceClientMockRecorder) CanonicalHead

func (mr *MockValidatorServiceClientMockRecorder) CanonicalHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CanonicalHead indicates an expected call of CanonicalHead

func (*MockValidatorServiceClientMockRecorder) CommitteeAssignment

func (mr *MockValidatorServiceClientMockRecorder) CommitteeAssignment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CommitteeAssignment indicates an expected call of CommitteeAssignment

func (*MockValidatorServiceClientMockRecorder) DomainData

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

DomainData indicates an expected call of DomainData

func (*MockValidatorServiceClientMockRecorder) ExitedValidators

func (mr *MockValidatorServiceClientMockRecorder) ExitedValidators(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExitedValidators indicates an expected call of ExitedValidators

func (*MockValidatorServiceClientMockRecorder) ProposeExit added in v0.3.0

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

ProposeExit indicates an expected call of ProposeExit

func (*MockValidatorServiceClientMockRecorder) ValidatorIndex

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

ValidatorIndex indicates an expected call of ValidatorIndex

func (*MockValidatorServiceClientMockRecorder) ValidatorPerformance

func (mr *MockValidatorServiceClientMockRecorder) ValidatorPerformance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ValidatorPerformance indicates an expected call of ValidatorPerformance

func (*MockValidatorServiceClientMockRecorder) ValidatorStatus

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

ValidatorStatus indicates an expected call of ValidatorStatus

func (*MockValidatorServiceClientMockRecorder) WaitForActivation

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

WaitForActivation indicates an expected call of WaitForActivation

func (*MockValidatorServiceClientMockRecorder) WaitForChainStart

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

WaitForChainStart indicates an expected call of WaitForChainStart

type MockValidatorService_WaitForActivationClient

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

MockValidatorService_WaitForActivationClient is a mock of ValidatorService_WaitForActivationClient interface

func NewMockValidatorService_WaitForActivationClient

func NewMockValidatorService_WaitForActivationClient(ctrl *gomock.Controller) *MockValidatorService_WaitForActivationClient

NewMockValidatorService_WaitForActivationClient creates a new mock instance

func (*MockValidatorService_WaitForActivationClient) CloseSend

CloseSend mocks base method

func (*MockValidatorService_WaitForActivationClient) Context

Context mocks base method

func (*MockValidatorService_WaitForActivationClient) EXPECT

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

func (*MockValidatorService_WaitForActivationClient) Header

Header mocks base method

func (*MockValidatorService_WaitForActivationClient) Recv

Recv mocks base method

func (*MockValidatorService_WaitForActivationClient) RecvMsg

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

RecvMsg mocks base method

func (*MockValidatorService_WaitForActivationClient) SendMsg

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

SendMsg mocks base method

func (*MockValidatorService_WaitForActivationClient) Trailer

Trailer mocks base method

type MockValidatorService_WaitForActivationClientMockRecorder

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

MockValidatorService_WaitForActivationClientMockRecorder is the mock recorder for MockValidatorService_WaitForActivationClient

func (*MockValidatorService_WaitForActivationClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockValidatorService_WaitForActivationClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockValidatorService_WaitForActivationClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockValidatorService_WaitForActivationClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockValidatorService_WaitForActivationClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockValidatorService_WaitForActivationClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockValidatorService_WaitForActivationClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockValidatorService_WaitForChainStartClient

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

MockValidatorService_WaitForChainStartClient is a mock of ValidatorService_WaitForChainStartClient interface

func NewMockValidatorService_WaitForChainStartClient

func NewMockValidatorService_WaitForChainStartClient(ctrl *gomock.Controller) *MockValidatorService_WaitForChainStartClient

NewMockValidatorService_WaitForChainStartClient creates a new mock instance

func (*MockValidatorService_WaitForChainStartClient) CloseSend

CloseSend mocks base method

func (*MockValidatorService_WaitForChainStartClient) Context

Context mocks base method

func (*MockValidatorService_WaitForChainStartClient) EXPECT

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

func (*MockValidatorService_WaitForChainStartClient) Header

Header mocks base method

func (*MockValidatorService_WaitForChainStartClient) Recv

Recv mocks base method

func (*MockValidatorService_WaitForChainStartClient) RecvMsg

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

RecvMsg mocks base method

func (*MockValidatorService_WaitForChainStartClient) SendMsg

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

SendMsg mocks base method

func (*MockValidatorService_WaitForChainStartClient) Trailer

Trailer mocks base method

type MockValidatorService_WaitForChainStartClientMockRecorder

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

MockValidatorService_WaitForChainStartClientMockRecorder is the mock recorder for MockValidatorService_WaitForChainStartClient

func (*MockValidatorService_WaitForChainStartClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockValidatorService_WaitForChainStartClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockValidatorService_WaitForChainStartClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockValidatorService_WaitForChainStartClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockValidatorService_WaitForChainStartClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockValidatorService_WaitForChainStartClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockValidatorService_WaitForChainStartClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

Jump to

Keyboard shortcuts

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