mock_opentracing

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_opentracing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStartSpanOption

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

MockStartSpanOption is a mock of StartSpanOption interface.

func NewMockStartSpanOption

func NewMockStartSpanOption(ctrl *gomock.Controller) *MockStartSpanOption

NewMockStartSpanOption creates a new mock instance.

func (*MockStartSpanOption) Apply

Apply mocks base method.

func (*MockStartSpanOption) EXPECT

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

type MockStartSpanOptionMockRecorder

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

MockStartSpanOptionMockRecorder is the mock recorder for MockStartSpanOption.

func (*MockStartSpanOptionMockRecorder) Apply

func (mr *MockStartSpanOptionMockRecorder) Apply(arg0 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

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) 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_go.SpanContext, error)

Extract mocks base method.

func (*MockTracer) Inject

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

Inject mocks base method.

func (*MockTracer) StartSpan

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

StartSpan mocks base method.

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

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