mock

package
v0.44.0-unsafe-collect... Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionIndexer

type CollectionIndexer struct {
	mock.Mock
}

CollectionIndexer is an autogenerated mock type for the CollectionIndexer type

func NewCollectionIndexer

func NewCollectionIndexer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CollectionIndexer

NewCollectionIndexer creates a new instance of CollectionIndexer. 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 (*CollectionIndexer) IndexCollections

func (_m *CollectionIndexer) IndexCollections(_a0 []*flow.Collection) error

IndexCollections provides a mock function with given fields: _a0

func (*CollectionIndexer) MissingCollectionsAtHeight

func (_m *CollectionIndexer) MissingCollectionsAtHeight(height uint64) ([]*flow.CollectionGuarantee, error)

MissingCollectionsAtHeight provides a mock function with given fields: height

func (*CollectionIndexer) OnCollectionReceived

func (_m *CollectionIndexer) OnCollectionReceived(collection *flow.Collection)

OnCollectionReceived provides a mock function with given fields: collection

Jump to

Keyboard shortcuts

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