storagemock

package
v0.0.0-...-5195419 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 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 Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Add

func (_m *Storage) Add(_a0 *model.Snapshot) error

Add provides a mock function with given fields: _a0

func (*Storage) Close

func (_m *Storage) Close() error

Close provides a mock function with given fields:

func (*Storage) GetChunk

func (_m *Storage) GetChunk(_a0 int64) (storage.Chunk, error)

GetChunk provides a mock function with given fields: _a0

func (*Storage) GetLatestSnapshot

func (_m *Storage) GetLatestSnapshot() (*model.Snapshot, error)

GetLatestSnapshot 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