mocks

package
v0.36.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0 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 Metricer

type Metricer struct {
	mock.Mock
}

Metricer is an autogenerated mock type for the Metricer type

func (*Metricer) BackFillBlocksTotal

func (_m *Metricer) BackFillBlocksTotal() int64

BackFillBlocksTotal provides a mock function with given fields:

func (*Metricer) BackFilledBlocks

func (_m *Metricer) BackFilledBlocks() int64

BackFilledBlocks provides a mock function with given fields:

func (*Metricer) ChunkProcessAvgTime

func (_m *Metricer) ChunkProcessAvgTime() time.Duration

ChunkProcessAvgTime provides a mock function with given fields:

func (*Metricer) SnapshotChunksCount

func (_m *Metricer) SnapshotChunksCount() int64

SnapshotChunksCount provides a mock function with given fields:

func (*Metricer) SnapshotChunksTotal

func (_m *Metricer) SnapshotChunksTotal() int64

SnapshotChunksTotal provides a mock function with given fields:

func (*Metricer) SnapshotHeight

func (_m *Metricer) SnapshotHeight() int64

SnapshotHeight provides a mock function with given fields:

func (*Metricer) TotalSnapshots

func (_m *Metricer) TotalSnapshots() int64

TotalSnapshots provides a mock function with given fields:

type StateProvider

type StateProvider struct {
	mock.Mock
}

StateProvider is an autogenerated mock type for the StateProvider type

func (*StateProvider) AppHash

func (_m *StateProvider) AppHash(ctx context.Context, height uint64) ([]byte, error)

AppHash provides a mock function with given fields: ctx, height

func (*StateProvider) Commit

func (_m *StateProvider) Commit(ctx context.Context, height uint64) (*types.Commit, error)

Commit provides a mock function with given fields: ctx, height

func (*StateProvider) State

func (_m *StateProvider) State(ctx context.Context, height uint64) (state.State, error)

State provides a mock function with given fields: ctx, height

Jump to

Keyboard shortcuts

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