mock

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExternalValidator

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

MockExternalValidator is a mock of ExternalValidator interface.

func NewMockExternalValidator

func NewMockExternalValidator(ctrl *gomock.Controller) *MockExternalValidator

NewMockExternalValidator creates a new mock instance.

func (*MockExternalValidator) EXPECT

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

func (*MockExternalValidator) GetMinMax

func (m *MockExternalValidator) GetMinMax(ctx context.Context, model models.External) (uint64, uint64, error)

GetMinMax mocks base method.

type MockExternalValidatorMockRecorder

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

MockExternalValidatorMockRecorder is the mock recorder for MockExternalValidator.

func (*MockExternalValidatorMockRecorder) GetMinMax

func (mr *MockExternalValidatorMockRecorder) GetMinMax(ctx, model any) *gomock.Call

GetMinMax indicates an expected call of GetMinMax.

type MockValidator

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

MockValidator is a mock of Validator interface.

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance.

func (*MockValidator) EXPECT

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

func (*MockValidator) GetStartPosition

func (m *MockValidator) GetStartPosition(ctx context.Context, modelID string) (uint64, error)

GetStartPosition mocks base method.

func (*MockValidator) GetValidRange

func (m *MockValidator) GetValidRange(ctx context.Context, modelID string, semantics validation.RangeSemantics) (uint64, uint64, error)

GetValidRange mocks base method.

func (*MockValidator) ValidateDependencies

func (m *MockValidator) ValidateDependencies(ctx context.Context, modelID string, position, interval uint64) (validation.Result, error)

ValidateDependencies mocks base method.

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator.

func (*MockValidatorMockRecorder) GetStartPosition

func (mr *MockValidatorMockRecorder) GetStartPosition(ctx, modelID any) *gomock.Call

GetStartPosition indicates an expected call of GetStartPosition.

func (*MockValidatorMockRecorder) GetValidRange

func (mr *MockValidatorMockRecorder) GetValidRange(ctx, modelID, semantics any) *gomock.Call

GetValidRange indicates an expected call of GetValidRange.

func (*MockValidatorMockRecorder) ValidateDependencies

func (mr *MockValidatorMockRecorder) ValidateDependencies(ctx, modelID, position, interval any) *gomock.Call

ValidateDependencies indicates an expected call of ValidateDependencies.

Jump to

Keyboard shortcuts

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