mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTraceService

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

MockTraceService is a mock of TraceService interface.

func NewMockTraceService

func NewMockTraceService(ctrl *gomock.Controller) *MockTraceService

NewMockTraceService creates a new mock instance.

func (*MockTraceService) AddSpanError

func (m *MockTraceService) AddSpanError(span trace.Span, err error)

AddSpanError mocks base method.

func (*MockTraceService) AddSpanEvents

func (m *MockTraceService) AddSpanEvents(span trace.Span, name string, events map[string]string)

AddSpanEvents mocks base method.

func (*MockTraceService) AddSpanTags

func (m *MockTraceService) AddSpanTags(span trace.Span, tags map[string]string)

AddSpanTags mocks base method.

func (*MockTraceService) EXPECT

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

func (*MockTraceService) FailSpan

func (m *MockTraceService) FailSpan(span trace.Span, msg string)

FailSpan mocks base method.

type MockTraceServiceMockRecorder

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

MockTraceServiceMockRecorder is the mock recorder for MockTraceService.

func (*MockTraceServiceMockRecorder) AddSpanError

func (mr *MockTraceServiceMockRecorder) AddSpanError(span, err interface{}) *gomock.Call

AddSpanError indicates an expected call of AddSpanError.

func (*MockTraceServiceMockRecorder) AddSpanEvents

func (mr *MockTraceServiceMockRecorder) AddSpanEvents(span, name, events interface{}) *gomock.Call

AddSpanEvents indicates an expected call of AddSpanEvents.

func (*MockTraceServiceMockRecorder) AddSpanTags

func (mr *MockTraceServiceMockRecorder) AddSpanTags(span, tags interface{}) *gomock.Call

AddSpanTags indicates an expected call of AddSpanTags.

func (*MockTraceServiceMockRecorder) FailSpan

func (mr *MockTraceServiceMockRecorder) FailSpan(span, msg interface{}) *gomock.Call

FailSpan indicates an expected call of FailSpan.

Jump to

Keyboard shortcuts

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