tracingfakes

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSpan

type FakeSpan struct {
	AddEventStub func(string, ...trace.EventOption)

	EndStub func(...trace.SpanEndOption)

	IsRecordingStub func() bool

	RecordErrorStub func(error, ...trace.EventOption)

	SetAttributesStub func(...attribute.KeyValue)

	SetNameStub func(string)

	SetStatusStub func(codes.Code, string)

	SpanContextStub func() trace.SpanContext

	TracerProviderStub func() trace.TracerProvider
	// contains filtered or unexported fields
}

func (*FakeSpan) AddEvent

func (fake *FakeSpan) AddEvent(arg1 string, arg2 ...trace.EventOption)

func (*FakeSpan) AddEventArgsForCall

func (fake *FakeSpan) AddEventArgsForCall(i int) (string, []trace.EventOption)

func (*FakeSpan) AddEventCallCount

func (fake *FakeSpan) AddEventCallCount() int

func (*FakeSpan) AddEventCalls

func (fake *FakeSpan) AddEventCalls(stub func(string, ...trace.EventOption))

func (*FakeSpan) End

func (fake *FakeSpan) End(arg1 ...trace.SpanEndOption)

func (*FakeSpan) EndArgsForCall

func (fake *FakeSpan) EndArgsForCall(i int) []trace.SpanEndOption

func (*FakeSpan) EndCallCount

func (fake *FakeSpan) EndCallCount() int

func (*FakeSpan) EndCalls

func (fake *FakeSpan) EndCalls(stub func(...trace.SpanEndOption))

func (*FakeSpan) Invocations

func (fake *FakeSpan) Invocations() map[string][][]interface{}

func (*FakeSpan) IsRecording

func (fake *FakeSpan) IsRecording() bool

func (*FakeSpan) IsRecordingCallCount

func (fake *FakeSpan) IsRecordingCallCount() int

func (*FakeSpan) IsRecordingCalls

func (fake *FakeSpan) IsRecordingCalls(stub func() bool)

func (*FakeSpan) IsRecordingReturns

func (fake *FakeSpan) IsRecordingReturns(result1 bool)

func (*FakeSpan) IsRecordingReturnsOnCall

func (fake *FakeSpan) IsRecordingReturnsOnCall(i int, result1 bool)

func (*FakeSpan) RecordError

func (fake *FakeSpan) RecordError(arg1 error, arg2 ...trace.EventOption)

func (*FakeSpan) RecordErrorArgsForCall

func (fake *FakeSpan) RecordErrorArgsForCall(i int) (error, []trace.EventOption)

func (*FakeSpan) RecordErrorCallCount

func (fake *FakeSpan) RecordErrorCallCount() int

func (*FakeSpan) RecordErrorCalls

func (fake *FakeSpan) RecordErrorCalls(stub func(error, ...trace.EventOption))

func (*FakeSpan) SetAttributes

func (fake *FakeSpan) SetAttributes(arg1 ...attribute.KeyValue)

func (*FakeSpan) SetAttributesArgsForCall

func (fake *FakeSpan) SetAttributesArgsForCall(i int) []attribute.KeyValue

func (*FakeSpan) SetAttributesCallCount

func (fake *FakeSpan) SetAttributesCallCount() int

func (*FakeSpan) SetAttributesCalls

func (fake *FakeSpan) SetAttributesCalls(stub func(...attribute.KeyValue))

func (*FakeSpan) SetName

func (fake *FakeSpan) SetName(arg1 string)

func (*FakeSpan) SetNameArgsForCall

func (fake *FakeSpan) SetNameArgsForCall(i int) string

func (*FakeSpan) SetNameCallCount

func (fake *FakeSpan) SetNameCallCount() int

func (*FakeSpan) SetNameCalls

func (fake *FakeSpan) SetNameCalls(stub func(string))

func (*FakeSpan) SetStatus

func (fake *FakeSpan) SetStatus(arg1 codes.Code, arg2 string)

func (*FakeSpan) SetStatusArgsForCall

func (fake *FakeSpan) SetStatusArgsForCall(i int) (codes.Code, string)

func (*FakeSpan) SetStatusCallCount

func (fake *FakeSpan) SetStatusCallCount() int

func (*FakeSpan) SetStatusCalls

func (fake *FakeSpan) SetStatusCalls(stub func(codes.Code, string))

func (*FakeSpan) SpanContext

func (fake *FakeSpan) SpanContext() trace.SpanContext

func (*FakeSpan) SpanContextCallCount

func (fake *FakeSpan) SpanContextCallCount() int

func (*FakeSpan) SpanContextCalls

func (fake *FakeSpan) SpanContextCalls(stub func() trace.SpanContext)

func (*FakeSpan) SpanContextReturns

func (fake *FakeSpan) SpanContextReturns(result1 trace.SpanContext)

func (*FakeSpan) SpanContextReturnsOnCall

func (fake *FakeSpan) SpanContextReturnsOnCall(i int, result1 trace.SpanContext)

func (*FakeSpan) TracerProvider

func (fake *FakeSpan) TracerProvider() trace.TracerProvider

func (*FakeSpan) TracerProviderCallCount

func (fake *FakeSpan) TracerProviderCallCount() int

func (*FakeSpan) TracerProviderCalls

func (fake *FakeSpan) TracerProviderCalls(stub func() trace.TracerProvider)

func (*FakeSpan) TracerProviderReturns

func (fake *FakeSpan) TracerProviderReturns(result1 trace.TracerProvider)

func (*FakeSpan) TracerProviderReturnsOnCall

func (fake *FakeSpan) TracerProviderReturnsOnCall(i int, result1 trace.TracerProvider)

Jump to

Keyboard shortcuts

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