mocktracker

package
v0.33.25-fetch-collection Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

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