internal

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 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 MockAttesterServiceClient

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

MockAttesterServiceClient is a mock of AttesterServiceClient interface

func NewMockAttesterServiceClient

func NewMockAttesterServiceClient(ctrl *gomock.Controller) *MockAttesterServiceClient

NewMockAttesterServiceClient creates a new mock instance

func (*MockAttesterServiceClient) EXPECT

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

func (*MockAttesterServiceClient) RequestAttestation

RequestAttestation mocks base method

func (*MockAttesterServiceClient) SubmitAttestation

func (m *MockAttesterServiceClient) SubmitAttestation(arg0 context.Context, arg1 *v1alpha1.Attestation, arg2 ...grpc.CallOption) (*v1.AttestResponse, error)

SubmitAttestation mocks base method

type MockAttesterServiceClientMockRecorder

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

MockAttesterServiceClientMockRecorder is the mock recorder for MockAttesterServiceClient

func (*MockAttesterServiceClientMockRecorder) RequestAttestation

func (mr *MockAttesterServiceClientMockRecorder) RequestAttestation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RequestAttestation indicates an expected call of RequestAttestation

func (*MockAttesterServiceClientMockRecorder) SubmitAttestation

func (mr *MockAttesterServiceClientMockRecorder) SubmitAttestation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubmitAttestation indicates an expected call of SubmitAttestation

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(arg0 context.Context, arg1 *types.Empty, arg2 ...grpc.CallOption) (*v1alpha1.Genesis, error)

GetGenesis mocks base method

func (*MockNodeClient) GetSyncStatus added in v0.2.3

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

GetSyncStatus mocks base method

func (*MockNodeClient) GetVersion added in v0.2.3

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

GetVersion mocks base method

func (*MockNodeClient) ListImplementedServices added in v0.2.3

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

ListImplementedServices 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(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetGenesis indicates an expected call of GetGenesis

func (*MockNodeClientMockRecorder) GetSyncStatus added in v0.2.3

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

GetSyncStatus indicates an expected call of GetSyncStatus

func (*MockNodeClientMockRecorder) GetVersion added in v0.2.3

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

GetVersion indicates an expected call of GetVersion

func (*MockNodeClientMockRecorder) ListImplementedServices added in v0.2.3

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

ListImplementedServices indicates an expected call of ListImplementedServices

type MockProposerServiceClient

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

MockProposerServiceClient is a mock of ProposerServiceClient interface

func NewMockProposerServiceClient

func NewMockProposerServiceClient(ctrl *gomock.Controller) *MockProposerServiceClient

NewMockProposerServiceClient creates a new mock instance

func (*MockProposerServiceClient) EXPECT

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

func (*MockProposerServiceClient) ProposeBlock

ProposeBlock mocks base method

func (*MockProposerServiceClient) RequestBlock

RequestBlock mocks base method

type MockProposerServiceClientMockRecorder

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

MockProposerServiceClientMockRecorder is the mock recorder for MockProposerServiceClient

func (*MockProposerServiceClientMockRecorder) ProposeBlock

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

ProposeBlock indicates an expected call of ProposeBlock

func (*MockProposerServiceClientMockRecorder) RequestBlock

func (mr *MockProposerServiceClientMockRecorder) RequestBlock(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RequestBlock indicates an expected call of RequestBlock

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