internal

package
v0.0.0-...-c85edb6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 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) AttestHead

AttestHead mocks base method

func (*MockAttesterServiceClient) AttestationInfoAtSlot

AttestationInfoAtSlot mocks base method

func (*MockAttesterServiceClient) CrosslinkCommitteesAtSlot

CrosslinkCommitteesAtSlot mocks base method

func (*MockAttesterServiceClient) EXPECT

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

type MockAttesterServiceClientMockRecorder

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

MockAttesterServiceClientMockRecorder is the mock recorder for MockAttesterServiceClient

func (*MockAttesterServiceClientMockRecorder) AttestHead

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

AttestHead indicates an expected call of AttestHead

func (*MockAttesterServiceClientMockRecorder) AttestationInfoAtSlot

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

AttestationInfoAtSlot indicates an expected call of AttestationInfoAtSlot

func (*MockAttesterServiceClientMockRecorder) CrosslinkCommitteesAtSlot

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

CrosslinkCommitteesAtSlot indicates an expected call of CrosslinkCommitteesAtSlot

type MockBeaconServiceClient

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

MockBeaconServiceClient is a mock of BeaconServiceClient interface

func NewMockBeaconServiceClient

func NewMockBeaconServiceClient(ctrl *gomock.Controller) *MockBeaconServiceClient

NewMockBeaconServiceClient creates a new mock instance

func (*MockBeaconServiceClient) CanonicalHead

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

CanonicalHead mocks base method

func (*MockBeaconServiceClient) EXPECT

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

func (*MockBeaconServiceClient) Eth1Data

Eth1Data mocks base method

func (*MockBeaconServiceClient) LatestAttestation

LatestAttestation mocks base method

func (*MockBeaconServiceClient) PendingDeposits

func (m *MockBeaconServiceClient) PendingDeposits(arg0 context.Context, arg1 *types.Empty, arg2 ...grpc.CallOption) (*v10.PendingDepositsResponse, error)

PendingDeposits mocks base method

func (*MockBeaconServiceClient) WaitForChainStart

WaitForChainStart mocks base method

type MockBeaconServiceClientMockRecorder

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

MockBeaconServiceClientMockRecorder is the mock recorder for MockBeaconServiceClient

func (*MockBeaconServiceClientMockRecorder) CanonicalHead

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

CanonicalHead indicates an expected call of CanonicalHead

func (*MockBeaconServiceClientMockRecorder) Eth1Data

func (mr *MockBeaconServiceClientMockRecorder) Eth1Data(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Eth1Data indicates an expected call of Eth1Data

func (*MockBeaconServiceClientMockRecorder) LatestAttestation

func (mr *MockBeaconServiceClientMockRecorder) LatestAttestation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

LatestAttestation indicates an expected call of LatestAttestation

func (*MockBeaconServiceClientMockRecorder) PendingDeposits

func (mr *MockBeaconServiceClientMockRecorder) PendingDeposits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PendingDeposits indicates an expected call of PendingDeposits

func (*MockBeaconServiceClientMockRecorder) WaitForChainStart

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

WaitForChainStart indicates an expected call of WaitForChainStart

type MockBeaconService_LatestAttestationClient

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

MockBeaconService_LatestAttestationClient is a mock of BeaconService_LatestAttestationClient interface

func NewMockBeaconService_LatestAttestationClient

func NewMockBeaconService_LatestAttestationClient(ctrl *gomock.Controller) *MockBeaconService_LatestAttestationClient

NewMockBeaconService_LatestAttestationClient creates a new mock instance

func (*MockBeaconService_LatestAttestationClient) CloseSend

CloseSend mocks base method

func (*MockBeaconService_LatestAttestationClient) Context

Context mocks base method

func (*MockBeaconService_LatestAttestationClient) EXPECT

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

func (*MockBeaconService_LatestAttestationClient) Header

Header mocks base method

func (*MockBeaconService_LatestAttestationClient) Recv

Recv mocks base method

func (*MockBeaconService_LatestAttestationClient) RecvMsg

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

RecvMsg mocks base method

func (*MockBeaconService_LatestAttestationClient) SendMsg

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

SendMsg mocks base method

func (*MockBeaconService_LatestAttestationClient) Trailer

Trailer mocks base method

type MockBeaconService_LatestAttestationClientMockRecorder

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

MockBeaconService_LatestAttestationClientMockRecorder is the mock recorder for MockBeaconService_LatestAttestationClient

func (*MockBeaconService_LatestAttestationClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconService_LatestAttestationClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconService_LatestAttestationClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconService_LatestAttestationClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconService_LatestAttestationClientMockRecorder) RecvMsg

func (mr *MockBeaconService_LatestAttestationClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconService_LatestAttestationClientMockRecorder) SendMsg

func (mr *MockBeaconService_LatestAttestationClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconService_LatestAttestationClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockBeaconService_WaitForChainStartClient

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

MockBeaconService_WaitForChainStartClient is a mock of BeaconService_WaitForChainStartClient interface

func NewMockBeaconService_WaitForChainStartClient

func NewMockBeaconService_WaitForChainStartClient(ctrl *gomock.Controller) *MockBeaconService_WaitForChainStartClient

NewMockBeaconService_WaitForChainStartClient creates a new mock instance

func (*MockBeaconService_WaitForChainStartClient) CloseSend

CloseSend mocks base method

func (*MockBeaconService_WaitForChainStartClient) Context

Context mocks base method

func (*MockBeaconService_WaitForChainStartClient) EXPECT

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

func (*MockBeaconService_WaitForChainStartClient) Header

Header mocks base method

func (*MockBeaconService_WaitForChainStartClient) Recv

Recv mocks base method

func (*MockBeaconService_WaitForChainStartClient) RecvMsg

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

RecvMsg mocks base method

func (*MockBeaconService_WaitForChainStartClient) SendMsg

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

SendMsg mocks base method

func (*MockBeaconService_WaitForChainStartClient) Trailer

Trailer mocks base method

type MockBeaconService_WaitForChainStartClientMockRecorder

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

MockBeaconService_WaitForChainStartClientMockRecorder is the mock recorder for MockBeaconService_WaitForChainStartClient

func (*MockBeaconService_WaitForChainStartClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockBeaconService_WaitForChainStartClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockBeaconService_WaitForChainStartClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockBeaconService_WaitForChainStartClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockBeaconService_WaitForChainStartClientMockRecorder) RecvMsg

func (mr *MockBeaconService_WaitForChainStartClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconService_WaitForChainStartClientMockRecorder) SendMsg

func (mr *MockBeaconService_WaitForChainStartClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconService_WaitForChainStartClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

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

func (m *MockProposerServiceClient) ComputeStateRoot(arg0 context.Context, arg1 *v1.BeaconBlock, arg2 ...grpc.CallOption) (*v10.StateRootResponse, error)

ComputeStateRoot mocks base method

func (*MockProposerServiceClient) EXPECT

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

func (*MockProposerServiceClient) ProposeBlock

func (m *MockProposerServiceClient) ProposeBlock(arg0 context.Context, arg1 *v1.BeaconBlock, arg2 ...grpc.CallOption) (*v10.ProposeResponse, error)

ProposeBlock mocks base method

func (*MockProposerServiceClient) ProposerIndex

ProposerIndex mocks base method

type MockProposerServiceClientMockRecorder

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

MockProposerServiceClientMockRecorder is the mock recorder for MockProposerServiceClient

func (*MockProposerServiceClientMockRecorder) ComputeStateRoot

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

ComputeStateRoot indicates an expected call of ComputeStateRoot

func (*MockProposerServiceClientMockRecorder) ProposeBlock

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

ProposeBlock indicates an expected call of ProposeBlock

func (*MockProposerServiceClientMockRecorder) ProposerIndex

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

ProposerIndex indicates an expected call of ProposerIndex

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

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

func (*MockValidatorServiceClient) ValidatorEpochAssignments

ValidatorEpochAssignments mocks base method

func (*MockValidatorServiceClient) ValidatorIndex

ValidatorIndex mocks base method

type MockValidatorServiceClientMockRecorder

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

MockValidatorServiceClientMockRecorder is the mock recorder for MockValidatorServiceClient

func (*MockValidatorServiceClientMockRecorder) ValidatorEpochAssignments

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

ValidatorEpochAssignments indicates an expected call of ValidatorEpochAssignments

func (*MockValidatorServiceClientMockRecorder) ValidatorIndex

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

ValidatorIndex indicates an expected call of ValidatorIndex

Jump to

Keyboard shortcuts

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