mocks

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 4 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) Create

Create provides a mock function with given fields: ctx, ve

func (*Storage) Delete

Delete provides a mock function with given fields: ctx, ve

func (*Storage) Find

func (_m *Storage) Find(ctx context.Context, filter map[string]interface{}, result interface{}) error

Find provides a mock function with given fields: ctx, filter, result

func (*Storage) Get

Get provides a mock function with given fields: ctx, id, ve

func (*Storage) GetHistory added in v0.7.0

func (_m *Storage) GetHistory(ctx context.Context, id string, at time.Time, ve datastore.VersionedJSONEntity) error

GetHistory provides a mock function with given fields: ctx, id, at, ve

func (*Storage) Update

Update provides a mock function with given fields: ctx, ve

Jump to

Keyboard shortcuts

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