Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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