mock

package
v0.44.11-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: AGPL-3.0 Imports: 2 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	mock.Mock
}

Core is an autogenerated mock type for the Core type

func NewCore

func NewCore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Core

NewCore creates a new instance of Core. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Core) Abandon

func (_m *Core) Abandon()

Abandon provides a mock function with no fields

func (*Core) Download

func (_m *Core) Download(ctx context.Context) error

Download provides a mock function with given fields: ctx

func (*Core) Index

func (_m *Core) Index() error

Index provides a mock function with no fields

func (*Core) Persist

func (_m *Core) Persist() error

Persist provides a mock function with no fields

Jump to

Keyboard shortcuts

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