mocks

package
v0.0.0-...-e36a8a6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Restorer

type Restorer struct {
	mock.Mock
}

Restorer is an autogenerated mock type for the Restorer type

func NewRestorer

func NewRestorer(t mockConstructorTestingTNewRestorer) *Restorer

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

func (*Restorer) Restore

func (_m *Restorer) Restore(cfg bdb.RestoreConfig) error

Restore provides a mock function with given fields: cfg

func (*Restorer) Status

func (_m *Restorer) Status(dbPath string) (*raft.InitialState, error)

Status provides a mock function with given fields: dbPath

Jump to

Keyboard shortcuts

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