Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeSpan
- func (fake *FakeSpan) AddEvent(arg1 string, arg2 ...trace.EventOption)
- func (fake *FakeSpan) AddEventArgsForCall(i int) (string, []trace.EventOption)
- func (fake *FakeSpan) AddEventCallCount() int
- func (fake *FakeSpan) AddEventCalls(stub func(string, ...trace.EventOption))
- func (fake *FakeSpan) End(arg1 ...trace.SpanEndOption)
- func (fake *FakeSpan) EndArgsForCall(i int) []trace.SpanEndOption
- func (fake *FakeSpan) EndCallCount() int
- func (fake *FakeSpan) EndCalls(stub func(...trace.SpanEndOption))
- func (fake *FakeSpan) Invocations() map[string][][]interface{}
- func (fake *FakeSpan) IsRecording() bool
- func (fake *FakeSpan) IsRecordingCallCount() int
- func (fake *FakeSpan) IsRecordingCalls(stub func() bool)
- func (fake *FakeSpan) IsRecordingReturns(result1 bool)
- func (fake *FakeSpan) IsRecordingReturnsOnCall(i int, result1 bool)
- func (fake *FakeSpan) RecordError(arg1 error, arg2 ...trace.EventOption)
- func (fake *FakeSpan) RecordErrorArgsForCall(i int) (error, []trace.EventOption)
- func (fake *FakeSpan) RecordErrorCallCount() int
- func (fake *FakeSpan) RecordErrorCalls(stub func(error, ...trace.EventOption))
- func (fake *FakeSpan) SetAttributes(arg1 ...attribute.KeyValue)
- func (fake *FakeSpan) SetAttributesArgsForCall(i int) []attribute.KeyValue
- func (fake *FakeSpan) SetAttributesCallCount() int
- func (fake *FakeSpan) SetAttributesCalls(stub func(...attribute.KeyValue))
- func (fake *FakeSpan) SetName(arg1 string)
- func (fake *FakeSpan) SetNameArgsForCall(i int) string
- func (fake *FakeSpan) SetNameCallCount() int
- func (fake *FakeSpan) SetNameCalls(stub func(string))
- func (fake *FakeSpan) SetStatus(arg1 codes.Code, arg2 string)
- func (fake *FakeSpan) SetStatusArgsForCall(i int) (codes.Code, string)
- func (fake *FakeSpan) SetStatusCallCount() int
- func (fake *FakeSpan) SetStatusCalls(stub func(codes.Code, string))
- func (fake *FakeSpan) SpanContext() trace.SpanContext
- func (fake *FakeSpan) SpanContextCallCount() int
- func (fake *FakeSpan) SpanContextCalls(stub func() trace.SpanContext)
- func (fake *FakeSpan) SpanContextReturns(result1 trace.SpanContext)
- func (fake *FakeSpan) SpanContextReturnsOnCall(i int, result1 trace.SpanContext)
- func (fake *FakeSpan) TracerProvider() trace.TracerProvider
- func (fake *FakeSpan) TracerProviderCallCount() int
- func (fake *FakeSpan) TracerProviderCalls(stub func() trace.TracerProvider)
- func (fake *FakeSpan) TracerProviderReturns(result1 trace.TracerProvider)
- func (fake *FakeSpan) TracerProviderReturnsOnCall(i int, result1 trace.TracerProvider)
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) AddEventArgsForCall ¶
func (fake *FakeSpan) AddEventArgsForCall(i int) (string, []trace.EventOption)
func (*FakeSpan) AddEventCallCount ¶
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 (*FakeSpan) EndCalls ¶
func (fake *FakeSpan) EndCalls(stub func(...trace.SpanEndOption))
func (*FakeSpan) Invocations ¶
func (*FakeSpan) IsRecording ¶
func (*FakeSpan) IsRecordingCallCount ¶
func (*FakeSpan) IsRecordingCalls ¶
func (*FakeSpan) IsRecordingReturns ¶
func (*FakeSpan) IsRecordingReturnsOnCall ¶
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 (*FakeSpan) RecordErrorCalls ¶
func (fake *FakeSpan) RecordErrorCalls(stub func(error, ...trace.EventOption))
func (*FakeSpan) SetAttributes ¶
func (*FakeSpan) SetAttributesArgsForCall ¶
func (*FakeSpan) SetAttributesCallCount ¶
func (*FakeSpan) SetAttributesCalls ¶
func (*FakeSpan) SetNameArgsForCall ¶
func (*FakeSpan) SetNameCallCount ¶
func (*FakeSpan) SetNameCalls ¶
func (*FakeSpan) SetStatusArgsForCall ¶
func (*FakeSpan) SetStatusCallCount ¶
func (*FakeSpan) SetStatusCalls ¶
func (*FakeSpan) SpanContext ¶
func (fake *FakeSpan) SpanContext() trace.SpanContext
func (*FakeSpan) SpanContextCallCount ¶
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 (*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)
Click to show internal directories.
Click to hide internal directories.