internal

package
v1.0.0-alpha.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 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

func (m *MockBeaconNodeValidatorClient) ProposeAttestation(arg0 context.Context, arg1 *eth.Attestation, arg2 ...grpc.CallOption) (*eth.AttestResponse, error)

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) SubmitAggregateSelectionProof

SubmitAggregateSelectionProof mocks base method.

func (*MockBeaconNodeValidatorClient) SubmitSignedAggregateSelectionProof

SubmitSignedAggregateSelectionProof mocks base method.

func (*MockBeaconNodeValidatorClient) SubscribeCommitteeSubnets

func (m *MockBeaconNodeValidatorClient) SubscribeCommitteeSubnets(arg0 context.Context, arg1 *eth.CommitteeSubnetsSubscribeRequest, arg2 ...grpc.CallOption) (*ptypes.Empty, error)

SubscribeCommitteeSubnets 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.

func (*MockBeaconNodeValidatorClient) WaitForSynced

WaitForSynced 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) SubmitAggregateSelectionProof

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

SubmitAggregateSelectionProof indicates an expected call of SubmitAggregateSelectionProof.

func (*MockBeaconNodeValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof

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

SubmitSignedAggregateSelectionProof indicates an expected call of SubmitSignedAggregateSelectionProof.

func (*MockBeaconNodeValidatorClientMockRecorder) SubscribeCommitteeSubnets

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

SubscribeCommitteeSubnets indicates an expected call of SubscribeCommitteeSubnets.

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.

func (*MockBeaconNodeValidatorClientMockRecorder) WaitForSynced

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

WaitForSynced indicates an expected call of WaitForSynced.

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 MockBeaconNodeValidator_WaitForSyncedClient

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

MockBeaconNodeValidator_WaitForSyncedClient is a mock of BeaconNodeValidator_WaitForSyncedClient interface.

func NewMockBeaconNodeValidator_WaitForSyncedClient

func NewMockBeaconNodeValidator_WaitForSyncedClient(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForSyncedClient

NewMockBeaconNodeValidator_WaitForSyncedClient creates a new mock instance.

func (*MockBeaconNodeValidator_WaitForSyncedClient) CloseSend

CloseSend mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) Context

Context mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) EXPECT

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

func (*MockBeaconNodeValidator_WaitForSyncedClient) Header

Header mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) Recv

Recv mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) RecvMsg

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

RecvMsg mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) SendMsg

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

SendMsg mocks base method.

func (*MockBeaconNodeValidator_WaitForSyncedClient) Trailer

Trailer mocks base method.

type MockBeaconNodeValidator_WaitForSyncedClientMockRecorder

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

MockBeaconNodeValidator_WaitForSyncedClientMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForSyncedClient.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockBeaconNodeValidator_WaitForSyncedClientMockRecorder) Trailer

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

Jump to

Keyboard shortcuts

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