Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockBuilderClient
- func (m *MockBuilderClient) EXPECT() *MockBuilderClientMockRecorder
- func (m *MockBuilderClient) GetHeader(ctx context.Context, slot int64, parentHash common.Hash, pubKey common.Bytes48) (*builder.ExecutionHeader, error)
- func (m *MockBuilderClient) GetStatus(ctx context.Context) error
- func (m *MockBuilderClient) RegisterValidator(ctx context.Context, registers []*cltypes.ValidatorRegistration) error
- func (m *MockBuilderClient) SubmitBlindedBlocks(ctx context.Context, block *cltypes.SignedBlindedBeaconBlock) (*cltypes.Eth1Block, *engine_types.BlobsBundleV1, error)
- type MockBuilderClientGetHeaderCall
- type MockBuilderClientGetStatusCall
- func (c *MockBuilderClientGetStatusCall) Do(f func(context.Context) error) *MockBuilderClientGetStatusCall
- func (c *MockBuilderClientGetStatusCall) DoAndReturn(f func(context.Context) error) *MockBuilderClientGetStatusCall
- func (c *MockBuilderClientGetStatusCall) Return(arg0 error) *MockBuilderClientGetStatusCall
- type MockBuilderClientMockRecorder
- func (mr *MockBuilderClientMockRecorder) GetHeader(ctx, slot, parentHash, pubKey any) *MockBuilderClientGetHeaderCall
- func (mr *MockBuilderClientMockRecorder) GetStatus(ctx any) *MockBuilderClientGetStatusCall
- func (mr *MockBuilderClientMockRecorder) RegisterValidator(ctx, registers any) *MockBuilderClientRegisterValidatorCall
- func (mr *MockBuilderClientMockRecorder) SubmitBlindedBlocks(ctx, block any) *MockBuilderClientSubmitBlindedBlocksCall
- type MockBuilderClientRegisterValidatorCall
- func (c *MockBuilderClientRegisterValidatorCall) Do(f func(context.Context, []*cltypes.ValidatorRegistration) error) *MockBuilderClientRegisterValidatorCall
- func (c *MockBuilderClientRegisterValidatorCall) DoAndReturn(f func(context.Context, []*cltypes.ValidatorRegistration) error) *MockBuilderClientRegisterValidatorCall
- func (c *MockBuilderClientRegisterValidatorCall) Return(arg0 error) *MockBuilderClientRegisterValidatorCall
- type MockBuilderClientSubmitBlindedBlocksCall
- func (c *MockBuilderClientSubmitBlindedBlocksCall) Do(...) *MockBuilderClientSubmitBlindedBlocksCall
- func (c *MockBuilderClientSubmitBlindedBlocksCall) DoAndReturn(...) *MockBuilderClientSubmitBlindedBlocksCall
- func (c *MockBuilderClientSubmitBlindedBlocksCall) Return(arg0 *cltypes.Eth1Block, arg1 *engine_types.BlobsBundleV1, arg2 error) *MockBuilderClientSubmitBlindedBlocksCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBuilderClient ¶
type MockBuilderClient struct {
// contains filtered or unexported fields
}
MockBuilderClient is a mock of BuilderClient interface.
func NewMockBuilderClient ¶
func NewMockBuilderClient(ctrl *gomock.Controller) *MockBuilderClient
NewMockBuilderClient creates a new mock instance.
func (*MockBuilderClient) EXPECT ¶
func (m *MockBuilderClient) EXPECT() *MockBuilderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBuilderClient) GetHeader ¶
func (m *MockBuilderClient) GetHeader(ctx context.Context, slot int64, parentHash common.Hash, pubKey common.Bytes48) (*builder.ExecutionHeader, error)
GetHeader mocks base method.
func (*MockBuilderClient) GetStatus ¶
func (m *MockBuilderClient) GetStatus(ctx context.Context) error
GetStatus mocks base method.
func (*MockBuilderClient) RegisterValidator ¶
func (m *MockBuilderClient) RegisterValidator(ctx context.Context, registers []*cltypes.ValidatorRegistration) error
RegisterValidator mocks base method.
func (*MockBuilderClient) SubmitBlindedBlocks ¶
func (m *MockBuilderClient) SubmitBlindedBlocks(ctx context.Context, block *cltypes.SignedBlindedBeaconBlock) (*cltypes.Eth1Block, *engine_types.BlobsBundleV1, error)
SubmitBlindedBlocks mocks base method.
type MockBuilderClientGetHeaderCall ¶
MockBuilderClientGetHeaderCall wrap *gomock.Call
func (*MockBuilderClientGetHeaderCall) Do ¶
func (c *MockBuilderClientGetHeaderCall) Do(f func(context.Context, int64, common.Hash, common.Bytes48) (*builder.ExecutionHeader, error)) *MockBuilderClientGetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockBuilderClientGetHeaderCall) DoAndReturn ¶
func (c *MockBuilderClientGetHeaderCall) DoAndReturn(f func(context.Context, int64, common.Hash, common.Bytes48) (*builder.ExecutionHeader, error)) *MockBuilderClientGetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockBuilderClientGetHeaderCall) Return ¶
func (c *MockBuilderClientGetHeaderCall) Return(arg0 *builder.ExecutionHeader, arg1 error) *MockBuilderClientGetHeaderCall
Return rewrite *gomock.Call.Return
type MockBuilderClientGetStatusCall ¶
MockBuilderClientGetStatusCall wrap *gomock.Call
func (*MockBuilderClientGetStatusCall) Do ¶
func (c *MockBuilderClientGetStatusCall) Do(f func(context.Context) error) *MockBuilderClientGetStatusCall
Do rewrite *gomock.Call.Do
func (*MockBuilderClientGetStatusCall) DoAndReturn ¶
func (c *MockBuilderClientGetStatusCall) DoAndReturn(f func(context.Context) error) *MockBuilderClientGetStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockBuilderClientGetStatusCall) Return ¶
func (c *MockBuilderClientGetStatusCall) Return(arg0 error) *MockBuilderClientGetStatusCall
Return rewrite *gomock.Call.Return
type MockBuilderClientMockRecorder ¶
type MockBuilderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBuilderClientMockRecorder is the mock recorder for MockBuilderClient.
func (*MockBuilderClientMockRecorder) GetHeader ¶
func (mr *MockBuilderClientMockRecorder) GetHeader(ctx, slot, parentHash, pubKey any) *MockBuilderClientGetHeaderCall
GetHeader indicates an expected call of GetHeader.
func (*MockBuilderClientMockRecorder) GetStatus ¶
func (mr *MockBuilderClientMockRecorder) GetStatus(ctx any) *MockBuilderClientGetStatusCall
GetStatus indicates an expected call of GetStatus.
func (*MockBuilderClientMockRecorder) RegisterValidator ¶
func (mr *MockBuilderClientMockRecorder) RegisterValidator(ctx, registers any) *MockBuilderClientRegisterValidatorCall
RegisterValidator indicates an expected call of RegisterValidator.
func (*MockBuilderClientMockRecorder) SubmitBlindedBlocks ¶
func (mr *MockBuilderClientMockRecorder) SubmitBlindedBlocks(ctx, block any) *MockBuilderClientSubmitBlindedBlocksCall
SubmitBlindedBlocks indicates an expected call of SubmitBlindedBlocks.
type MockBuilderClientRegisterValidatorCall ¶
MockBuilderClientRegisterValidatorCall wrap *gomock.Call
func (*MockBuilderClientRegisterValidatorCall) Do ¶
func (c *MockBuilderClientRegisterValidatorCall) Do(f func(context.Context, []*cltypes.ValidatorRegistration) error) *MockBuilderClientRegisterValidatorCall
Do rewrite *gomock.Call.Do
func (*MockBuilderClientRegisterValidatorCall) DoAndReturn ¶
func (c *MockBuilderClientRegisterValidatorCall) DoAndReturn(f func(context.Context, []*cltypes.ValidatorRegistration) error) *MockBuilderClientRegisterValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockBuilderClientRegisterValidatorCall) Return ¶
func (c *MockBuilderClientRegisterValidatorCall) Return(arg0 error) *MockBuilderClientRegisterValidatorCall
Return rewrite *gomock.Call.Return
type MockBuilderClientSubmitBlindedBlocksCall ¶
MockBuilderClientSubmitBlindedBlocksCall wrap *gomock.Call
func (*MockBuilderClientSubmitBlindedBlocksCall) Do ¶
func (c *MockBuilderClientSubmitBlindedBlocksCall) Do(f func(context.Context, *cltypes.SignedBlindedBeaconBlock) (*cltypes.Eth1Block, *engine_types.BlobsBundleV1, error)) *MockBuilderClientSubmitBlindedBlocksCall
Do rewrite *gomock.Call.Do
func (*MockBuilderClientSubmitBlindedBlocksCall) DoAndReturn ¶
func (c *MockBuilderClientSubmitBlindedBlocksCall) DoAndReturn(f func(context.Context, *cltypes.SignedBlindedBeaconBlock) (*cltypes.Eth1Block, *engine_types.BlobsBundleV1, error)) *MockBuilderClientSubmitBlindedBlocksCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockBuilderClientSubmitBlindedBlocksCall) Return ¶
func (c *MockBuilderClientSubmitBlindedBlocksCall) Return(arg0 *cltypes.Eth1Block, arg1 *engine_types.BlobsBundleV1, arg2 error) *MockBuilderClientSubmitBlindedBlocksCall
Return rewrite *gomock.Call.Return