Documentation ¶
Index ¶
- type Reader
- func (_m *Reader) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) ([]model.TraceID, error)
- func (_m *Reader) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (_m *Reader) GetOperations(ctx context.Context, query spanstore.OperationQueryParameters) ([]spanstore.Operation, error)
- func (_m *Reader) GetServices(ctx context.Context) ([]string, error)
- func (_m *Reader) GetTrace(ctx context.Context, traceID model.TraceID) (*model.Trace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func NewReader ¶
func NewReader(t mockConstructorTestingTNewReader) *Reader
NewReader creates a new instance of Reader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Reader) FindTraceIDs ¶
func (_m *Reader) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) ([]model.TraceID, error)
FindTraceIDs provides a mock function with given fields: ctx, query
func (*Reader) FindTraces ¶
func (_m *Reader) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
FindTraces provides a mock function with given fields: ctx, query
func (*Reader) GetOperations ¶
func (_m *Reader) GetOperations(ctx context.Context, query spanstore.OperationQueryParameters) ([]spanstore.Operation, error)
GetOperations provides a mock function with given fields: ctx, query
func (*Reader) GetServices ¶
GetServices provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.