mocks

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) Close

func (_m *Manager) Close() error

Close provides a mock function with given fields:

func (*Manager) Current

func (_m *Manager) Current() *manager.VersionedDatabase

Current provides a mock function with given fields:

func (*Manager) CurrentDBBootstrapped

func (_m *Manager) CurrentDBBootstrapped() (bool, error)

CurrentDBBootstrapped provides a mock function with given fields:

func (*Manager) GetDatabases

func (_m *Manager) GetDatabases() []*manager.VersionedDatabase

GetDatabases provides a mock function with given fields:

func (*Manager) MarkCurrentDBBootstrapped

func (_m *Manager) MarkCurrentDBBootstrapped() error

MarkCurrentDBBootstrapped provides a mock function with given fields:

func (*Manager) NewCompleteMeterDBManager

func (_m *Manager) NewCompleteMeterDBManager(namespace string, registerer prometheus.Registerer) (manager.Manager, error)

NewCompleteMeterDBManager provides a mock function with given fields: namespace, registerer

func (*Manager) NewMeterDBManager

func (_m *Manager) NewMeterDBManager(namespace string, registerer prometheus.Registerer) (manager.Manager, error)

NewMeterDBManager provides a mock function with given fields: namespace, registerer

func (*Manager) NewNestedPrefixDBManager

func (_m *Manager) NewNestedPrefixDBManager(prefix []byte) manager.Manager

NewNestedPrefixDBManager provides a mock function with given fields: prefix

func (*Manager) NewPrefixDBManager

func (_m *Manager) NewPrefixDBManager(prefix []byte) manager.Manager

NewPrefixDBManager provides a mock function with given fields: prefix

func (*Manager) Previous

func (_m *Manager) Previous() (*manager.VersionedDatabase, bool)

Previous provides a mock function with given fields:

Jump to

Keyboard shortcuts

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