mock

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: GPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockDependencyHandler

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

MockDependencyHandler is a mock of DependencyHandler interface.

func NewMockDependencyHandler

func NewMockDependencyHandler(ctrl *gomock.Controller) *MockDependencyHandler

NewMockDependencyHandler creates a new mock instance.

func (*MockDependencyHandler) EXPECT

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

func (*MockDependencyHandler) GetDependencies

func (m *MockDependencyHandler) GetDependencies() []transformation.Dependency

GetDependencies mocks base method.

func (*MockDependencyHandler) GetFlattenedDependencies

func (m *MockDependencyHandler) GetFlattenedDependencies() []string

GetFlattenedDependencies mocks base method.

type MockDependencyHandlerMockRecorder

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

MockDependencyHandlerMockRecorder is the mock recorder for MockDependencyHandler.

func (*MockDependencyHandlerMockRecorder) GetDependencies

func (mr *MockDependencyHandlerMockRecorder) GetDependencies() *gomock.Call

GetDependencies indicates an expected call of GetDependencies.

func (*MockDependencyHandlerMockRecorder) GetFlattenedDependencies

func (mr *MockDependencyHandlerMockRecorder) GetFlattenedDependencies() *gomock.Call

GetFlattenedDependencies indicates an expected call of GetFlattenedDependencies.

type MockFillHandler

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

MockFillHandler is a mock of FillHandler interface.

func NewMockFillHandler

func NewMockFillHandler(ctrl *gomock.Controller) *MockFillHandler

NewMockFillHandler creates a new mock instance.

func (*MockFillHandler) AllowGapSkipping

func (m *MockFillHandler) AllowGapSkipping() bool

AllowGapSkipping mocks base method.

func (*MockFillHandler) EXPECT

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

func (*MockFillHandler) GetFillBuffer

func (m *MockFillHandler) GetFillBuffer() uint64

GetFillBuffer mocks base method.

func (*MockFillHandler) GetFillDirection

func (m *MockFillHandler) GetFillDirection() string

GetFillDirection mocks base method.

type MockFillHandlerMockRecorder

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

MockFillHandlerMockRecorder is the mock recorder for MockFillHandler.

func (*MockFillHandlerMockRecorder) AllowGapSkipping

func (mr *MockFillHandlerMockRecorder) AllowGapSkipping() *gomock.Call

AllowGapSkipping indicates an expected call of AllowGapSkipping.

func (*MockFillHandlerMockRecorder) GetFillBuffer

func (mr *MockFillHandlerMockRecorder) GetFillBuffer() *gomock.Call

GetFillBuffer indicates an expected call of GetFillBuffer.

func (*MockFillHandlerMockRecorder) GetFillDirection

func (mr *MockFillHandlerMockRecorder) GetFillDirection() *gomock.Call

GetFillDirection indicates an expected call of GetFillDirection.

type MockHandler

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

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) Config

func (m *MockHandler) Config() any

Config mocks base method.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) GetAdminTable

func (m *MockHandler) GetAdminTable() transformation.AdminTable

GetAdminTable mocks base method.

func (*MockHandler) GetTemplateVariables

func (m *MockHandler) GetTemplateVariables(ctx context.Context, taskInfo transformation.TaskInfo) map[string]any

GetTemplateVariables mocks base method.

func (*MockHandler) RecordCompletion

func (m *MockHandler) RecordCompletion(ctx context.Context, adminService any, modelID string, taskInfo transformation.TaskInfo) error

RecordCompletion mocks base method.

func (*MockHandler) ShouldTrackPosition

func (m *MockHandler) ShouldTrackPosition() bool

ShouldTrackPosition mocks base method.

func (*MockHandler) Type

func (m *MockHandler) Type() transformation.Type

Type mocks base method.

func (*MockHandler) Validate

func (m *MockHandler) Validate() error

Validate mocks base method.

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) Config

func (mr *MockHandlerMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config.

func (*MockHandlerMockRecorder) GetAdminTable

func (mr *MockHandlerMockRecorder) GetAdminTable() *gomock.Call

GetAdminTable indicates an expected call of GetAdminTable.

func (*MockHandlerMockRecorder) GetTemplateVariables

func (mr *MockHandlerMockRecorder) GetTemplateVariables(ctx, taskInfo any) *gomock.Call

GetTemplateVariables indicates an expected call of GetTemplateVariables.

func (*MockHandlerMockRecorder) RecordCompletion

func (mr *MockHandlerMockRecorder) RecordCompletion(ctx, adminService, modelID, taskInfo any) *gomock.Call

RecordCompletion indicates an expected call of RecordCompletion.

func (*MockHandlerMockRecorder) ShouldTrackPosition

func (mr *MockHandlerMockRecorder) ShouldTrackPosition() *gomock.Call

ShouldTrackPosition indicates an expected call of ShouldTrackPosition.

func (*MockHandlerMockRecorder) Type

func (mr *MockHandlerMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

func (*MockHandlerMockRecorder) Validate

func (mr *MockHandlerMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate.

type MockIntervalHandler

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

MockIntervalHandler is a mock of IntervalHandler interface.

func NewMockIntervalHandler

func NewMockIntervalHandler(ctrl *gomock.Controller) *MockIntervalHandler

NewMockIntervalHandler creates a new mock instance.

func (*MockIntervalHandler) AllowGapSkipping

func (m *MockIntervalHandler) AllowGapSkipping() bool

AllowGapSkipping mocks base method.

func (*MockIntervalHandler) AllowsPartialIntervals

func (m *MockIntervalHandler) AllowsPartialIntervals() bool

AllowsPartialIntervals mocks base method.

func (*MockIntervalHandler) EXPECT

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

func (*MockIntervalHandler) GetMaxInterval

func (m *MockIntervalHandler) GetMaxInterval() uint64

GetMaxInterval mocks base method.

func (*MockIntervalHandler) GetMinInterval

func (m *MockIntervalHandler) GetMinInterval() uint64

GetMinInterval mocks base method.

type MockIntervalHandlerMockRecorder

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

MockIntervalHandlerMockRecorder is the mock recorder for MockIntervalHandler.

func (*MockIntervalHandlerMockRecorder) AllowGapSkipping

func (mr *MockIntervalHandlerMockRecorder) AllowGapSkipping() *gomock.Call

AllowGapSkipping indicates an expected call of AllowGapSkipping.

func (*MockIntervalHandlerMockRecorder) AllowsPartialIntervals

func (mr *MockIntervalHandlerMockRecorder) AllowsPartialIntervals() *gomock.Call

AllowsPartialIntervals indicates an expected call of AllowsPartialIntervals.

func (*MockIntervalHandlerMockRecorder) GetMaxInterval

func (mr *MockIntervalHandlerMockRecorder) GetMaxInterval() *gomock.Call

GetMaxInterval indicates an expected call of GetMaxInterval.

func (*MockIntervalHandlerMockRecorder) GetMinInterval

func (mr *MockIntervalHandlerMockRecorder) GetMinInterval() *gomock.Call

GetMinInterval indicates an expected call of GetMinInterval.

type MockLimitsHandler

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

MockLimitsHandler is a mock of LimitsHandler interface.

func NewMockLimitsHandler

func NewMockLimitsHandler(ctrl *gomock.Controller) *MockLimitsHandler

NewMockLimitsHandler creates a new mock instance.

func (*MockLimitsHandler) EXPECT

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

func (*MockLimitsHandler) GetLimits

func (m *MockLimitsHandler) GetLimits() *transformation.Limits

GetLimits mocks base method.

type MockLimitsHandlerMockRecorder

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

MockLimitsHandlerMockRecorder is the mock recorder for MockLimitsHandler.

func (*MockLimitsHandlerMockRecorder) GetLimits

func (mr *MockLimitsHandlerMockRecorder) GetLimits() *gomock.Call

GetLimits indicates an expected call of GetLimits.

type MockScheduleHandler

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

MockScheduleHandler is a mock of ScheduleHandler interface.

func NewMockScheduleHandler

func NewMockScheduleHandler(ctrl *gomock.Controller) *MockScheduleHandler

NewMockScheduleHandler creates a new mock instance.

func (*MockScheduleHandler) EXPECT

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

func (*MockScheduleHandler) GetLimits

func (m *MockScheduleHandler) GetLimits() *transformation.Limits

GetLimits mocks base method.

func (*MockScheduleHandler) IsBackfillEnabled

func (m *MockScheduleHandler) IsBackfillEnabled() bool

IsBackfillEnabled mocks base method.

func (*MockScheduleHandler) IsForwardFillEnabled

func (m *MockScheduleHandler) IsForwardFillEnabled() bool

IsForwardFillEnabled mocks base method.

type MockScheduleHandlerMockRecorder

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

MockScheduleHandlerMockRecorder is the mock recorder for MockScheduleHandler.

func (*MockScheduleHandlerMockRecorder) GetLimits

func (mr *MockScheduleHandlerMockRecorder) GetLimits() *gomock.Call

GetLimits indicates an expected call of GetLimits.

func (*MockScheduleHandlerMockRecorder) IsBackfillEnabled

func (mr *MockScheduleHandlerMockRecorder) IsBackfillEnabled() *gomock.Call

IsBackfillEnabled indicates an expected call of IsBackfillEnabled.

func (*MockScheduleHandlerMockRecorder) IsForwardFillEnabled

func (mr *MockScheduleHandlerMockRecorder) IsForwardFillEnabled() *gomock.Call

IsForwardFillEnabled indicates an expected call of IsForwardFillEnabled.

Jump to

Keyboard shortcuts

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