mocks

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func (*Reader) FindTraceIDs added in v1.9.0

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, service string) ([]string, error)

GetOperations provides a mock function with given fields: ctx, service

func (*Reader) GetServices

func (_m *Reader) GetServices(ctx context.Context) ([]string, error)

GetServices provides a mock function with given fields: ctx

func (*Reader) GetTrace

func (_m *Reader) GetTrace(ctx context.Context, traceID model.TraceID) (*model.Trace, error)

GetTrace provides a mock function with given fields: ctx, traceID

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func (*Writer) WriteSpan

func (_m *Writer) WriteSpan(span *model.Span) error

WriteSpan provides a mock function with given fields: span

Jump to

Keyboard shortcuts

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