query

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var EventFieldSet = set.NewSet("error", "stack", "event", "message", "error_kind", "error_object")

Functions

func NewListIterator

func NewListIterator(list ...Data) storekit.Iterator

NewListIterator .

Types

type Data

type Data = interface{}

Data .

type ListIterator

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

ListIterator .

func (*ListIterator) Close

func (it *ListIterator) Close() error

Close .

func (*ListIterator) Error

func (it *ListIterator) Error() error

Error .

func (*ListIterator) First

func (it *ListIterator) First() bool

First .

func (*ListIterator) Last

func (it *ListIterator) Last() bool

Last .

func (*ListIterator) Next

func (it *ListIterator) Next() bool

Next .

func (*ListIterator) Prev

func (it *ListIterator) Prev() bool

Prev .

func (*ListIterator) Value

func (it *ListIterator) Value() Data

Value .

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.

type Spans

type Spans []*pb.Span

func (Spans) Len

func (s Spans) Len() int

func (Spans) Less

func (s Spans) Less(i, j int) bool

func (Spans) Swap

func (s Spans) Swap(i, j int)

Jump to

Keyboard shortcuts

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