mock_opentracing

package
v2.29.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_opentracing is a generated GoMock package.

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 MockSpan

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

MockSpan is a mock of Span interface

func NewMockSpan

func NewMockSpan(ctrl *gomock.Controller) *MockSpan

NewMockSpan creates a new mock instance

func (*MockSpan) BaggageItem

func (m *MockSpan) BaggageItem(restrictedKey string) string

BaggageItem mocks base method

func (*MockSpan) Context

func (m *MockSpan) Context() opentracing.SpanContext

Context mocks base method

func (*MockSpan) EXPECT

func (m *MockSpan) EXPECT() *MockSpanMockRecorder

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

func (*MockSpan) Finish

func (m *MockSpan) Finish()

Finish mocks base method

func (*MockSpan) FinishWithOptions

func (m *MockSpan) FinishWithOptions(opts opentracing.FinishOptions)

FinishWithOptions mocks base method

func (*MockSpan) Log

func (m *MockSpan) Log(data opentracing.LogData)

Log mocks base method

func (*MockSpan) LogEvent

func (m *MockSpan) LogEvent(event string)

LogEvent mocks base method

func (*MockSpan) LogEventWithPayload

func (m *MockSpan) LogEventWithPayload(event string, payload interface{})

LogEventWithPayload mocks base method

func (*MockSpan) LogFields

func (m *MockSpan) LogFields(fields ...log.Field)

LogFields mocks base method

func (*MockSpan) LogKV

func (m *MockSpan) LogKV(alternatingKeyValues ...interface{})

LogKV mocks base method

func (*MockSpan) SetBaggageItem

func (m *MockSpan) SetBaggageItem(restrictedKey, value string) opentracing.Span

SetBaggageItem mocks base method

func (*MockSpan) SetOperationName

func (m *MockSpan) SetOperationName(operationName string) opentracing.Span

SetOperationName mocks base method

func (*MockSpan) SetTag

func (m *MockSpan) SetTag(key string, value interface{}) opentracing.Span

SetTag mocks base method

func (*MockSpan) Tracer

func (m *MockSpan) Tracer() opentracing.Tracer

Tracer mocks base method

type MockSpanContext

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

MockSpanContext is a mock of SpanContext interface

func NewMockSpanContext

func NewMockSpanContext(ctrl *gomock.Controller) *MockSpanContext

NewMockSpanContext creates a new mock instance

func (*MockSpanContext) EXPECT

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

func (*MockSpanContext) ForeachBaggageItem

func (m *MockSpanContext) ForeachBaggageItem(handler func(string, string) bool)

ForeachBaggageItem mocks base method

type MockSpanContextMockRecorder

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

MockSpanContextMockRecorder is the mock recorder for MockSpanContext

func (*MockSpanContextMockRecorder) ForeachBaggageItem

func (mr *MockSpanContextMockRecorder) ForeachBaggageItem(handler interface{}) *gomock.Call

ForeachBaggageItem indicates an expected call of ForeachBaggageItem

type MockSpanMockRecorder

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

MockSpanMockRecorder is the mock recorder for MockSpan

func (*MockSpanMockRecorder) BaggageItem

func (mr *MockSpanMockRecorder) BaggageItem(restrictedKey interface{}) *gomock.Call

BaggageItem indicates an expected call of BaggageItem

func (*MockSpanMockRecorder) Context

func (mr *MockSpanMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockSpanMockRecorder) Finish

func (mr *MockSpanMockRecorder) Finish() *gomock.Call

Finish indicates an expected call of Finish

func (*MockSpanMockRecorder) FinishWithOptions

func (mr *MockSpanMockRecorder) FinishWithOptions(opts interface{}) *gomock.Call

FinishWithOptions indicates an expected call of FinishWithOptions

func (*MockSpanMockRecorder) Log

func (mr *MockSpanMockRecorder) Log(data interface{}) *gomock.Call

Log indicates an expected call of Log

func (*MockSpanMockRecorder) LogEvent

func (mr *MockSpanMockRecorder) LogEvent(event interface{}) *gomock.Call

LogEvent indicates an expected call of LogEvent

func (*MockSpanMockRecorder) LogEventWithPayload

func (mr *MockSpanMockRecorder) LogEventWithPayload(event, payload interface{}) *gomock.Call

LogEventWithPayload indicates an expected call of LogEventWithPayload

func (*MockSpanMockRecorder) LogFields

func (mr *MockSpanMockRecorder) LogFields(fields ...interface{}) *gomock.Call

LogFields indicates an expected call of LogFields

func (*MockSpanMockRecorder) LogKV

func (mr *MockSpanMockRecorder) LogKV(alternatingKeyValues ...interface{}) *gomock.Call

LogKV indicates an expected call of LogKV

func (*MockSpanMockRecorder) SetBaggageItem

func (mr *MockSpanMockRecorder) SetBaggageItem(restrictedKey, value interface{}) *gomock.Call

SetBaggageItem indicates an expected call of SetBaggageItem

func (*MockSpanMockRecorder) SetOperationName

func (mr *MockSpanMockRecorder) SetOperationName(operationName interface{}) *gomock.Call

SetOperationName indicates an expected call of SetOperationName

func (*MockSpanMockRecorder) SetTag

func (mr *MockSpanMockRecorder) SetTag(key, value interface{}) *gomock.Call

SetTag indicates an expected call of SetTag

func (*MockSpanMockRecorder) Tracer

func (mr *MockSpanMockRecorder) Tracer() *gomock.Call

Tracer indicates an expected call of Tracer

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.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) 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