tracingmock

package
v0.0.0-...-8b4ae58 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package tracingmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTracer

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

MockTracer is a mock of Tracer interface.

func NewMockTracer

func NewMockTracer(ctrl *gomock.Controller) *MockTracer

NewMockTracer creates a new mock instance.

func (*MockTracer) Close

func (m *MockTracer) Close() error

Close mocks base method.

func (*MockTracer) EXPECT

func (m *MockTracer) EXPECT() *MockTracerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTracer) Extract

func (m *MockTracer) Extract(format, carrier interface{}) (opentracing.SpanContext, error)

Extract mocks base method.

func (*MockTracer) Inject

func (m *MockTracer) Inject(sm opentracing.SpanContext, format, carrier interface{}) error

Inject mocks base method.

func (*MockTracer) StartSpan

func (m *MockTracer) StartSpan(operationName string, opts ...opentracing.StartSpanOption) opentracing.Span

StartSpan mocks base method.

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

func (*MockTracerMockRecorder) Close

func (mr *MockTracerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockTracerMockRecorder) Extract

func (mr *MockTracerMockRecorder) Extract(format, carrier interface{}) *gomock.Call

Extract indicates an expected call of Extract.

func (*MockTracerMockRecorder) Inject

func (mr *MockTracerMockRecorder) Inject(sm, format, carrier interface{}) *gomock.Call

Inject indicates an expected call of Inject.

func (*MockTracerMockRecorder) StartSpan

func (mr *MockTracerMockRecorder) StartSpan(operationName interface{}, opts ...interface{}) *gomock.Call

StartSpan indicates an expected call of StartSpan.

Jump to

Keyboard shortcuts

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