Documentation
¶
Index ¶
- type IDataClient
- func (_m *IDataClient) BatchPut(ctx context.Context, entities interface{}, keys interface{}) error
- func (_m *IDataClient) Get(ctx context.Context, result interface{}, dataType string, key interface{}, ...) error
- func (_m *IDataClient) Query(ctx context.Context, result interface{}, dataType string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDataClient ¶
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
Click to show internal directories.
Click to hide internal directories.