Documentation ¶
Overview ¶
Package query is a generated GoMock package.
Index ¶
- Variables
- func NewListIterator(list ...Data) storekit.Iterator
- type Data
- type ListIterator
- type MockStorage
- func (m *MockStorage) Count(ctx context.Context, traceId string) int64
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Iterator(ctx context.Context, sel *storage.Selector) (storekit.Iterator, error)
- func (m *MockStorage) NewWriter(ctx context.Context) (storekit.BatchWriter, error)
- type MockStorageMockRecorder
- type Spans
Constants ¶
This section is empty.
Variables ¶
View Source
var EventFieldSet = set.NewSet("error", "stack", "event", "message", "error_kind", "error_object")
Functions ¶
Types ¶
type ListIterator ¶
type ListIterator struct {
// contains filtered or unexported fields
}
ListIterator .
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) Count ¶
func (m *MockStorage) Count(ctx context.Context, traceId string) int64
Count mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) Iterator ¶
func (m *MockStorage) Iterator(ctx context.Context, sel *storage.Selector) (storekit.Iterator, error)
Iterator mocks base method.
func (*MockStorage) NewWriter ¶
func (m *MockStorage) NewWriter(ctx context.Context) (storekit.BatchWriter, error)
NewWriter mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Count ¶
func (mr *MockStorageMockRecorder) Count(ctx, traceId interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockStorageMockRecorder) Iterator ¶
func (mr *MockStorageMockRecorder) Iterator(ctx, sel interface{}) *gomock.Call
Iterator indicates an expected call of Iterator.
func (*MockStorageMockRecorder) NewWriter ¶
func (mr *MockStorageMockRecorder) NewWriter(ctx interface{}) *gomock.Call
NewWriter indicates an expected call of NewWriter.
Click to show internal directories.
Click to hide internal directories.