mocktracker

package
v0.31.14 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func NewMockStorage added in v0.30.0

func NewMockStorage() *Storage

func NewStorage

func NewStorage(t mockConstructorTestingTNewStorage) *Storage

NewStorage creates a new instance of Storage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Storage) GetFulfilledHeight

func (_m *Storage) GetFulfilledHeight() (uint64, error)

GetFulfilledHeight provides a mock function with given fields:

func (*Storage) GetPrunedHeight

func (_m *Storage) GetPrunedHeight() (uint64, error)

GetPrunedHeight provides a mock function with given fields:

func (*Storage) PruneUpToHeight added in v0.27.3

func (_m *Storage) PruneUpToHeight(height uint64) error

PruneUpToHeight provides a mock function with given fields: height

func (*Storage) SetFulfilledHeight

func (_m *Storage) SetFulfilledHeight(height uint64) error

SetFulfilledHeight provides a mock function with given fields: height

func (*Storage) Update

func (_m *Storage) Update(_a0 tracker.UpdateFn) error

Update provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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