mock

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 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 MockscheduleTracker

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

MockscheduleTracker is a mock of scheduleTracker interface.

func NewMockscheduleTracker

func NewMockscheduleTracker(ctrl *gomock.Controller) *MockscheduleTracker

NewMockscheduleTracker creates a new mock instance.

func (*MockscheduleTracker) Close

func (m *MockscheduleTracker) Close() error

Close mocks base method.

func (*MockscheduleTracker) EXPECT

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

func (*MockscheduleTracker) GetLastRun

func (m *MockscheduleTracker) GetLastRun(ctx context.Context, taskID string) (time.Time, error)

GetLastRun mocks base method.

func (*MockscheduleTracker) SetLastRun

func (m *MockscheduleTracker) SetLastRun(ctx context.Context, taskID string, timestamp time.Time) error

SetLastRun mocks base method.

type MockscheduleTrackerMockRecorder

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

MockscheduleTrackerMockRecorder is the mock recorder for MockscheduleTracker.

func (*MockscheduleTrackerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockscheduleTrackerMockRecorder) GetLastRun

func (mr *MockscheduleTrackerMockRecorder) GetLastRun(ctx, taskID any) *gomock.Call

GetLastRun indicates an expected call of GetLastRun.

func (*MockscheduleTrackerMockRecorder) SetLastRun

func (mr *MockscheduleTrackerMockRecorder) SetLastRun(ctx, taskID, timestamp any) *gomock.Call

SetLastRun indicates an expected call of SetLastRun.

Jump to

Keyboard shortcuts

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