internal

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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