query

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

type MockStorage struct {
	// contains filtered or unexported fields
}

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorage) NewWriter

func (m *MockStorage) NewWriter(ctx context.Context) (storekit.BatchWriter, error)

NewWriter mocks base method.

func (*MockStorage) QueryPaged

func (m *MockStorage) QueryPaged(ctx context.Context, sel *storage.Selector, pageNo, pageSize int) ([]*event.Event, error)

QueryPaged mocks base method.

type MockStorageMockRecorder

type MockStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) NewWriter

func (mr *MockStorageMockRecorder) NewWriter(ctx interface{}) *gomock.Call

NewWriter indicates an expected call of NewWriter.

func (*MockStorageMockRecorder) QueryPaged

func (mr *MockStorageMockRecorder) QueryPaged(ctx, sel, pageNo, pageSize interface{}) *gomock.Call

QueryPaged indicates an expected call of QueryPaged.

Jump to

Keyboard shortcuts

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