Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Counter
- type CounterMockRecorder
- type Flaki
- type FlakiMockRecorder
- type Handler
- type HandlerMockRecorder
- type Histogram
- type HistogramMockRecorder
- type IDGeneratorComponent
- type IDGeneratorComponentMockRecorder
- type IDGeneratorModule
- type IDGeneratorModuleMockRecorder
- type Logger
- type LoggerMockRecorder
- type Sentry
- type SentryMockRecorder
- type Span
- func (m *Span) BaggageItem(arg0 string) string
- func (m *Span) Context() opentracing_go.SpanContext
- func (m *Span) EXPECT() *SpanMockRecorder
- func (m *Span) Finish()
- func (m *Span) FinishWithOptions(arg0 opentracing_go.FinishOptions)
- func (m *Span) Log(arg0 opentracing_go.LogData)
- func (m *Span) LogEvent(arg0 string)
- func (m *Span) LogEventWithPayload(arg0 string, arg1 interface{})
- func (m *Span) LogFields(arg0 ...log.Field)
- func (m *Span) LogKV(arg0 ...interface{})
- func (m *Span) SetBaggageItem(arg0, arg1 string) opentracing_go.Span
- func (m *Span) SetOperationName(arg0 string) opentracing_go.Span
- func (m *Span) SetTag(arg0 string, arg1 interface{}) opentracing_go.Span
- func (m *Span) Tracer() opentracing_go.Tracer
- type SpanContext
- type SpanContextMockRecorder
- type SpanMockRecorder
- func (mr *SpanMockRecorder) BaggageItem(arg0 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) Context() *gomock.Call
- func (mr *SpanMockRecorder) Finish() *gomock.Call
- func (mr *SpanMockRecorder) FinishWithOptions(arg0 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) Log(arg0 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) LogEvent(arg0 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) LogEventWithPayload(arg0, arg1 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) LogFields(arg0 ...interface{}) *gomock.Call
- func (mr *SpanMockRecorder) LogKV(arg0 ...interface{}) *gomock.Call
- func (mr *SpanMockRecorder) SetBaggageItem(arg0, arg1 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) SetOperationName(arg0 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) SetTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *SpanMockRecorder) Tracer() *gomock.Call
- type Tracer
- func (m *Tracer) EXPECT() *TracerMockRecorder
- func (m *Tracer) Extract(arg0, arg1 interface{}) (opentracing_go.SpanContext, error)
- func (m *Tracer) Inject(arg0 opentracing_go.SpanContext, arg1, arg2 interface{}) error
- func (m *Tracer) StartSpan(arg0 string, arg1 ...opentracing_go.StartSpanOption) opentracing_go.Span
- type TracerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is a mock of Counter interface
func NewCounter ¶
func NewCounter(ctrl *gomock.Controller) *Counter
NewCounter creates a new mock instance
func (*Counter) EXPECT ¶
func (m *Counter) EXPECT() *CounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type CounterMockRecorder ¶
type CounterMockRecorder struct {
// contains filtered or unexported fields
}
CounterMockRecorder is the mock recorder for Counter
func (*CounterMockRecorder) Add ¶
func (mr *CounterMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*CounterMockRecorder) With ¶
func (mr *CounterMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With
type Flaki ¶
type Flaki struct {
// contains filtered or unexported fields
}
Flaki is a mock of Flaki interface
func (*Flaki) EXPECT ¶
func (m *Flaki) EXPECT() *FlakiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Flaki) NextIDString ¶
NextIDString mocks base method
func (*Flaki) NextValidIDString ¶
NextValidIDString mocks base method
type FlakiMockRecorder ¶
type FlakiMockRecorder struct {
// contains filtered or unexported fields
}
FlakiMockRecorder is the mock recorder for Flaki
func (*FlakiMockRecorder) NextIDString ¶
func (mr *FlakiMockRecorder) NextIDString() *gomock.Call
NextIDString indicates an expected call of NextIDString
func (*FlakiMockRecorder) NextValidIDString ¶
func (mr *FlakiMockRecorder) NextValidIDString() *gomock.Call
NextValidIDString indicates an expected call of NextValidIDString
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a mock of Handler interface
func NewHandler ¶
func NewHandler(ctrl *gomock.Controller) *Handler
NewHandler creates a new mock instance
func (*Handler) EXPECT ¶
func (m *Handler) EXPECT() *HandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type HandlerMockRecorder ¶
type HandlerMockRecorder struct {
// contains filtered or unexported fields
}
HandlerMockRecorder is the mock recorder for Handler
func (*HandlerMockRecorder) ServeGRPC ¶
func (mr *HandlerMockRecorder) ServeGRPC(arg0, arg1 interface{}) *gomock.Call
ServeGRPC indicates an expected call of ServeGRPC
type Histogram ¶
type Histogram struct {
// contains filtered or unexported fields
}
Histogram is a mock of Histogram interface
func NewHistogram ¶
func NewHistogram(ctrl *gomock.Controller) *Histogram
NewHistogram creates a new mock instance
func (*Histogram) EXPECT ¶
func (m *Histogram) EXPECT() *HistogramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type HistogramMockRecorder ¶
type HistogramMockRecorder struct {
// contains filtered or unexported fields
}
HistogramMockRecorder is the mock recorder for Histogram
func (*HistogramMockRecorder) Observe ¶
func (mr *HistogramMockRecorder) Observe(arg0 interface{}) *gomock.Call
Observe indicates an expected call of Observe
func (*HistogramMockRecorder) With ¶
func (mr *HistogramMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With
type IDGeneratorComponent ¶
type IDGeneratorComponent struct {
// contains filtered or unexported fields
}
IDGeneratorComponent is a mock of IDGeneratorComponent interface
func NewIDGeneratorComponent ¶
func NewIDGeneratorComponent(ctrl *gomock.Controller) *IDGeneratorComponent
NewIDGeneratorComponent creates a new mock instance
func (*IDGeneratorComponent) EXPECT ¶
func (m *IDGeneratorComponent) EXPECT() *IDGeneratorComponentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*IDGeneratorComponent) NextID ¶
func (m *IDGeneratorComponent) NextID(arg0 context.Context, arg1 *fb.FlakiRequest) (*fb.FlakiReply, error)
NextID mocks base method
func (*IDGeneratorComponent) NextValidID ¶
func (m *IDGeneratorComponent) NextValidID(arg0 context.Context, arg1 *fb.FlakiRequest) *fb.FlakiReply
NextValidID mocks base method
type IDGeneratorComponentMockRecorder ¶
type IDGeneratorComponentMockRecorder struct {
// contains filtered or unexported fields
}
IDGeneratorComponentMockRecorder is the mock recorder for IDGeneratorComponent
func (*IDGeneratorComponentMockRecorder) NextID ¶
func (mr *IDGeneratorComponentMockRecorder) NextID(arg0, arg1 interface{}) *gomock.Call
NextID indicates an expected call of NextID
func (*IDGeneratorComponentMockRecorder) NextValidID ¶
func (mr *IDGeneratorComponentMockRecorder) NextValidID(arg0, arg1 interface{}) *gomock.Call
NextValidID indicates an expected call of NextValidID
type IDGeneratorModule ¶
type IDGeneratorModule struct {
// contains filtered or unexported fields
}
IDGeneratorModule is a mock of IDGeneratorModule interface
func NewIDGeneratorModule ¶
func NewIDGeneratorModule(ctrl *gomock.Controller) *IDGeneratorModule
NewIDGeneratorModule creates a new mock instance
func (*IDGeneratorModule) EXPECT ¶
func (m *IDGeneratorModule) EXPECT() *IDGeneratorModuleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*IDGeneratorModule) NextID ¶
func (m *IDGeneratorModule) NextID(arg0 context.Context) (string, error)
NextID mocks base method
func (*IDGeneratorModule) NextValidID ¶
func (m *IDGeneratorModule) NextValidID(arg0 context.Context) string
NextValidID mocks base method
type IDGeneratorModuleMockRecorder ¶
type IDGeneratorModuleMockRecorder struct {
// contains filtered or unexported fields
}
IDGeneratorModuleMockRecorder is the mock recorder for IDGeneratorModule
func (*IDGeneratorModuleMockRecorder) NextID ¶
func (mr *IDGeneratorModuleMockRecorder) NextID(arg0 interface{}) *gomock.Call
NextID indicates an expected call of NextID
func (*IDGeneratorModuleMockRecorder) NextValidID ¶
func (mr *IDGeneratorModuleMockRecorder) NextValidID(arg0 interface{}) *gomock.Call
NextValidID indicates an expected call of NextValidID
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a mock of Logger interface
func NewLogger ¶
func NewLogger(ctrl *gomock.Controller) *Logger
NewLogger creates a new mock instance
func (*Logger) EXPECT ¶
func (m *Logger) EXPECT() *LoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type LoggerMockRecorder ¶
type LoggerMockRecorder struct {
// contains filtered or unexported fields
}
LoggerMockRecorder is the mock recorder for Logger
func (*LoggerMockRecorder) Log ¶
func (mr *LoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call
Log indicates an expected call of Log
type Sentry ¶
type Sentry struct {
// contains filtered or unexported fields
}
Sentry is a mock of Sentry interface
func NewSentry ¶
func NewSentry(ctrl *gomock.Controller) *Sentry
NewSentry creates a new mock instance
func (*Sentry) CaptureError ¶
func (m *Sentry) CaptureError(arg0 error, arg1 map[string]string, arg2 ...raven_go.Interface) string
CaptureError mocks base method
func (*Sentry) EXPECT ¶
func (m *Sentry) EXPECT() *SentryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type SentryMockRecorder ¶
type SentryMockRecorder struct {
// contains filtered or unexported fields
}
SentryMockRecorder is the mock recorder for Sentry
func (*SentryMockRecorder) CaptureError ¶
func (mr *SentryMockRecorder) CaptureError(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CaptureError indicates an expected call of CaptureError
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
Span is a mock of Span interface
func (*Span) BaggageItem ¶
BaggageItem mocks base method
func (*Span) Context ¶
func (m *Span) Context() opentracing_go.SpanContext
Context mocks base method
func (*Span) EXPECT ¶
func (m *Span) EXPECT() *SpanMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Span) FinishWithOptions ¶
func (m *Span) FinishWithOptions(arg0 opentracing_go.FinishOptions)
FinishWithOptions mocks base method
func (*Span) LogEventWithPayload ¶
LogEventWithPayload mocks base method
func (*Span) SetBaggageItem ¶
func (m *Span) SetBaggageItem(arg0, arg1 string) opentracing_go.Span
SetBaggageItem mocks base method
func (*Span) SetOperationName ¶
func (m *Span) SetOperationName(arg0 string) opentracing_go.Span
SetOperationName mocks base method
type SpanContext ¶
type SpanContext struct {
// contains filtered or unexported fields
}
SpanContext is a mock of SpanContext interface
func NewSpanContext ¶
func NewSpanContext(ctrl *gomock.Controller) *SpanContext
NewSpanContext creates a new mock instance
func (*SpanContext) EXPECT ¶
func (m *SpanContext) EXPECT() *SpanContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*SpanContext) ForeachBaggageItem ¶
func (m *SpanContext) ForeachBaggageItem(arg0 func(string, string) bool)
ForeachBaggageItem mocks base method
type SpanContextMockRecorder ¶
type SpanContextMockRecorder struct {
// contains filtered or unexported fields
}
SpanContextMockRecorder is the mock recorder for SpanContext
func (*SpanContextMockRecorder) ForeachBaggageItem ¶
func (mr *SpanContextMockRecorder) ForeachBaggageItem(arg0 interface{}) *gomock.Call
ForeachBaggageItem indicates an expected call of ForeachBaggageItem
type SpanMockRecorder ¶
type SpanMockRecorder struct {
// contains filtered or unexported fields
}
SpanMockRecorder is the mock recorder for Span
func (*SpanMockRecorder) BaggageItem ¶
func (mr *SpanMockRecorder) BaggageItem(arg0 interface{}) *gomock.Call
BaggageItem indicates an expected call of BaggageItem
func (*SpanMockRecorder) Context ¶
func (mr *SpanMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*SpanMockRecorder) Finish ¶
func (mr *SpanMockRecorder) Finish() *gomock.Call
Finish indicates an expected call of Finish
func (*SpanMockRecorder) FinishWithOptions ¶
func (mr *SpanMockRecorder) FinishWithOptions(arg0 interface{}) *gomock.Call
FinishWithOptions indicates an expected call of FinishWithOptions
func (*SpanMockRecorder) Log ¶
func (mr *SpanMockRecorder) Log(arg0 interface{}) *gomock.Call
Log indicates an expected call of Log
func (*SpanMockRecorder) LogEvent ¶
func (mr *SpanMockRecorder) LogEvent(arg0 interface{}) *gomock.Call
LogEvent indicates an expected call of LogEvent
func (*SpanMockRecorder) LogEventWithPayload ¶
func (mr *SpanMockRecorder) LogEventWithPayload(arg0, arg1 interface{}) *gomock.Call
LogEventWithPayload indicates an expected call of LogEventWithPayload
func (*SpanMockRecorder) LogFields ¶
func (mr *SpanMockRecorder) LogFields(arg0 ...interface{}) *gomock.Call
LogFields indicates an expected call of LogFields
func (*SpanMockRecorder) LogKV ¶
func (mr *SpanMockRecorder) LogKV(arg0 ...interface{}) *gomock.Call
LogKV indicates an expected call of LogKV
func (*SpanMockRecorder) SetBaggageItem ¶
func (mr *SpanMockRecorder) SetBaggageItem(arg0, arg1 interface{}) *gomock.Call
SetBaggageItem indicates an expected call of SetBaggageItem
func (*SpanMockRecorder) SetOperationName ¶
func (mr *SpanMockRecorder) SetOperationName(arg0 interface{}) *gomock.Call
SetOperationName indicates an expected call of SetOperationName
func (*SpanMockRecorder) SetTag ¶
func (mr *SpanMockRecorder) SetTag(arg0, arg1 interface{}) *gomock.Call
SetTag indicates an expected call of SetTag
func (*SpanMockRecorder) Tracer ¶
func (mr *SpanMockRecorder) Tracer() *gomock.Call
Tracer indicates an expected call of Tracer
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer is a mock of Tracer interface
func NewTracer ¶
func NewTracer(ctrl *gomock.Controller) *Tracer
NewTracer creates a new mock instance
func (*Tracer) EXPECT ¶
func (m *Tracer) EXPECT() *TracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Tracer) Extract ¶
func (m *Tracer) Extract(arg0, arg1 interface{}) (opentracing_go.SpanContext, error)
Extract mocks base method
func (*Tracer) Inject ¶
func (m *Tracer) Inject(arg0 opentracing_go.SpanContext, arg1, arg2 interface{}) error
Inject mocks base method
func (*Tracer) StartSpan ¶
func (m *Tracer) StartSpan(arg0 string, arg1 ...opentracing_go.StartSpanOption) opentracing_go.Span
StartSpan mocks base method
type TracerMockRecorder ¶
type TracerMockRecorder struct {
// contains filtered or unexported fields
}
TracerMockRecorder is the mock recorder for Tracer
func (*TracerMockRecorder) Extract ¶
func (mr *TracerMockRecorder) Extract(arg0, arg1 interface{}) *gomock.Call
Extract indicates an expected call of Extract
func (*TracerMockRecorder) Inject ¶
func (mr *TracerMockRecorder) Inject(arg0, arg1, arg2 interface{}) *gomock.Call
Inject indicates an expected call of Inject
func (*TracerMockRecorder) StartSpan ¶
func (mr *TracerMockRecorder) StartSpan(arg0 interface{}, arg1 ...interface{}) *gomock.Call
StartSpan indicates an expected call of StartSpan