mocks

package
v0.0.0-...-763a29c Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 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 IDataClient

type IDataClient struct {
	mock.Mock
}

IDataClient is an autogenerated mock type for the IDataClient type

func NewIDataClient

func NewIDataClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IDataClient

NewIDataClient creates a new instance of IDataClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IDataClient) BatchPut

func (_m *IDataClient) BatchPut(ctx context.Context, entities interface{}, keys interface{}) error

BatchPut provides a mock function with given fields: ctx, entities, keys

func (*IDataClient) Get

func (_m *IDataClient) Get(ctx context.Context, result interface{}, dataType string, key interface{}, options ...interface{}) error

Get provides a mock function with given fields: ctx, result, dataType, key, options

func (*IDataClient) Query

func (_m *IDataClient) Query(ctx context.Context, result interface{}, dataType string, queryFilters []datastorage.QueryFilter, order interface{}, limit int, options ...interface{}) error

Query provides a mock function with given fields: ctx, result, dataType, queryFilters, order, limit, options

Jump to

Keyboard shortcuts

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