mocks

package
v1.31.11 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 3 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 mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTracker

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

MockTracker is a mock of Tracker interface.

func NewMockTracker

func NewMockTracker(ctrl *gomock.Controller) *MockTracker

NewMockTracker creates a new mock instance.

func (*MockTracker) Begin

func (m *MockTracker) Begin(title, message string)

Begin mocks base method.

func (*MockTracker) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

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

func (*MockTracker) End

func (m *MockTracker) End(message string)

End mocks base method.

type MockTrackerFactory

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

MockTrackerFactory is a mock of TrackerFactory interface.

func NewMockTrackerFactory

func NewMockTrackerFactory(ctrl *gomock.Controller) *MockTrackerFactory

NewMockTrackerFactory creates a new mock instance.

func (*MockTrackerFactory) EXPECT

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

func (*MockTrackerFactory) GenerateTracker

func (m *MockTrackerFactory) GenerateTracker() scan.Tracker

GenerateTracker mocks base method.

type MockTrackerFactoryMockRecorder

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

MockTrackerFactoryMockRecorder is the mock recorder for MockTrackerFactory.

func (*MockTrackerFactoryMockRecorder) GenerateTracker

func (mr *MockTrackerFactoryMockRecorder) GenerateTracker() *gomock.Call

GenerateTracker indicates an expected call of GenerateTracker.

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) Begin

func (mr *MockTrackerMockRecorder) Begin(title, message interface{}) *gomock.Call

Begin indicates an expected call of Begin.

func (*MockTrackerMockRecorder) End

func (mr *MockTrackerMockRecorder) End(message interface{}) *gomock.Call

End indicates an expected call of End.

Jump to

Keyboard shortcuts

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