Documentation ¶
Index ¶
- type Factory
- type Reader
- func (_m *Reader) FindTraceIDs(ctx context.Context, query tracestore.TraceQueryParameters) ([]pcommon.TraceID, error)
- func (_m *Reader) FindTraces(ctx context.Context, query tracestore.TraceQueryParameters) ([]ptrace.Traces, error)
- func (_m *Reader) GetOperations(ctx context.Context, query tracestore.OperationQueryParameters) ([]tracestore.Operation, error)
- func (_m *Reader) GetServices(ctx context.Context) ([]string, error)
- func (_m *Reader) GetTrace(ctx context.Context, traceID pcommon.TraceID) (ptrace.Traces, error)
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. 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 (*Factory) CreateTraceReader ¶
func (_m *Factory) CreateTraceReader() (tracestore.Reader, error)
CreateTraceReader provides a mock function with no fields
func (*Factory) CreateTraceWriter ¶
func (_m *Factory) CreateTraceWriter() (tracestore.Writer, error)
CreateTraceWriter provides a mock function with no fields
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func NewReader ¶
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. The first argument is typically a *testing.T value.
func (*Reader) FindTraceIDs ¶
func (_m *Reader) FindTraceIDs(ctx context.Context, query tracestore.TraceQueryParameters) ([]pcommon.TraceID, error)
FindTraceIDs provides a mock function with given fields: ctx, query
func (*Reader) FindTraces ¶
func (_m *Reader) FindTraces(ctx context.Context, query tracestore.TraceQueryParameters) ([]ptrace.Traces, error)
FindTraces provides a mock function with given fields: ctx, query
func (*Reader) GetOperations ¶
func (_m *Reader) GetOperations(ctx context.Context, query tracestore.OperationQueryParameters) ([]tracestore.Operation, error)
GetOperations provides a mock function with given fields: ctx, query
func (*Reader) GetServices ¶
GetServices provides a mock function with given fields: ctx