mocks

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) PerformSync

func (m *MockManager) PerformSync(ctx context.Context, regCfg *config.SourceConfig, prefetched *sources.FetchResult) (*sync.Result, *sync.Error)

PerformSync mocks base method.

func (*MockManager) ShouldSync

func (m *MockManager) ShouldSync(ctx context.Context, regCfg *config.SourceConfig, syncStatus *status.SyncStatus, manualSyncRequested bool) (sync.Reason, *sources.FetchResult)

ShouldSync mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) PerformSync

func (mr *MockManagerMockRecorder) PerformSync(ctx, regCfg, prefetched any) *gomock.Call

PerformSync indicates an expected call of PerformSync.

func (*MockManagerMockRecorder) ShouldSync

func (mr *MockManagerMockRecorder) ShouldSync(ctx, regCfg, syncStatus, manualSyncRequested any) *gomock.Call

ShouldSync indicates an expected call of ShouldSync.

Jump to

Keyboard shortcuts

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